diff options
Diffstat (limited to 'lcmodule/source/cnh1605205_ldr_network_layer/include/t_a2_network.h')
-rw-r--r-- | lcmodule/source/cnh1605205_ldr_network_layer/include/t_a2_network.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lcmodule/source/cnh1605205_ldr_network_layer/include/t_a2_network.h b/lcmodule/source/cnh1605205_ldr_network_layer/include/t_a2_network.h index 6eb8ec5..cdc71d4 100644 --- a/lcmodule/source/cnh1605205_ldr_network_layer/include/t_a2_network.h +++ b/lcmodule/source/cnh1605205_ldr_network_layer/include/t_a2_network.h @@ -17,6 +17,7 @@ * Includes ******************************************************************************/ #include "t_communication_service.h" +#include "t_critical_section.h" #include "t_a2_header.h" /******************************************************************************* @@ -151,8 +152,8 @@ typedef struct { A2_OutboundState_t State; /** Temporary pointer for handling PROTROM packet.*/ A2_PacketMeta_t *Packet_p; - /**< Boolean value for controlling re-entry in transmitter function. */ - boolean InLoad; + /** Synchronization object to avoid parallel access in transmitter function. */ + CriticalSection_t TxCriticalSection; /** Error flag, purposed for error handling.*/ ErrorCode_e LCM_Error; } A2_Outbound_t; |