Skip to content

Commit 819cebd

Browse files
committed
fix: TL_Evt_t payload size for reset
Within last CubeWB update TL_Evt_t payload size was reduced. This produce a warning -Warray-bounds due to the reset management which require 4 bytes. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 2017ab4 commit 819cebd

File tree

1 file changed

+1
-1
lines changed
  • src/utility/STM32Cube_FW

1 file changed

+1
-1
lines changed

Diff for: src/utility/STM32Cube_FW/tl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ typedef PACKED_STRUCT
108108
{
109109
uint8_t evtcode;
110110
uint8_t plen;
111-
uint8_t payload[2];
111+
uint8_t payload[4];
112112
} TL_Evt_t;
113113

114114
typedef PACKED_STRUCT

0 commit comments

Comments
 (0)