diff options
Diffstat (limited to 'lcmodule/source/cnh1605205_ldr_network_layer/include/t_z_network.h')
-rw-r--r-- | lcmodule/source/cnh1605205_ldr_network_layer/include/t_z_network.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lcmodule/source/cnh1605205_ldr_network_layer/include/t_z_network.h b/lcmodule/source/cnh1605205_ldr_network_layer/include/t_z_network.h index 4135873..7f66e67 100644 --- a/lcmodule/source/cnh1605205_ldr_network_layer/include/t_z_network.h +++ b/lcmodule/source/cnh1605205_ldr_network_layer/include/t_z_network.h @@ -17,6 +17,7 @@ * Includes ******************************************************************************/ #include "t_communication_service.h" +#include "t_critical_section.h" #include "t_z_header.h" /******************************************************************************* @@ -60,8 +61,8 @@ typedef struct { typedef struct { /**< State of the state machine for handling outgoing Z packets. */ Z_OutboundState_t State; - /**< Boolean value for controling re-entry in transmiter fucntion. */ - boolean InLoad; + /**< Synchronization object to avoid parallel access in transmitter function. */ + CriticalSection_t TxCriticalSection; } Z_Outbound_t; |