Skip to content

Commit

Permalink
fix: TL_Evt_t payload size for reset
Browse files Browse the repository at this point in the history
Within STM32CubeWB v1.17.0 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]>
  • Loading branch information
fpistm committed Jan 11, 2024
1 parent ff1ed71 commit f0c0c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility/STM32_WPAN/tl.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ typedef PACKED_STRUCT
{
uint8_t evtcode;
uint8_t plen;
uint8_t payload[2];
uint8_t payload[4];
} TL_Evt_t;

typedef PACKED_STRUCT
Expand Down

0 comments on commit f0c0c80

Please sign in to comment.