fix(openthread): add some bugfixes to pass CI pipeline

This commit is contained in:
Tan Yan Quan
2025-03-24 14:53:20 +08:00
parent 59909d648d
commit f4d3a0396d
2 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ bool ieee802154_mac_is_inited(void);
#define IEEE802154_STATIC static
#define IEEE802154_INLINE inline
#endif // CONFIG_IEEE802154_TEST
#define IEEE802154_NOINLINE __attribute__((noinline))
#define IEEE802154_NOINLINE __attribute__((noinline, used))
#ifdef __cplusplus
}

View File

@ -658,7 +658,7 @@ esp_err_t IRAM_ATTR esp_ieee802154_enh_ack_generator(uint8_t *frame, esp_ieee802
{
otRadioFrame ack_frame;
otRadioFrame ot_frame;
uint8_t ack_ie_data[OT_ACK_IE_MAX_SIZE];
uint8_t ack_ie_data[OT_ACK_IE_MAX_SIZE] = {0};
uint8_t offset = 0;
#if OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE
uint8_t link_metrics_data_len = 0;