From f28f102ca02f09ca92a7879ad8fca17f1abdbb9c Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 27 Jun 2024 12:39:32 +0200 Subject: [PATCH] Add struct T_dynamicMachCond directly into shared-mem --- include/shared_mem_buffer.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/shared_mem_buffer.h b/include/shared_mem_buffer.h index 6b0130e..28d811d 100644 --- a/include/shared_mem_buffer.h +++ b/include/shared_mem_buffer.h @@ -7,6 +7,7 @@ #include #include +#include "interfaces.h" bool shdMem_firstUse(void); @@ -190,8 +191,10 @@ struct SharedMem uint8_t store_deviceCondLen; uint8_t store_deviceCond[66]; - uint8_t store_machCondLen; - uint8_t store_machCond[66]; + // uint8_t store_machCondLen; + // uint8_t store_machCond[66]; + + struct T_dynamicCondition dynMachCond; uint8_t store_DcBackupNrOfAccNr; uint16_t store_DcBackupAccNr[16]; // z.Z. nur 8