Skip to content

Commit 8da8c8d

Browse files
committed
fix: TL_Evt_t payload size for reset
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 <frederic.pillon@st.com>
1 parent 4a42f3e commit 8da8c8d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/utility/STM32_WPAN/tl.h

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy