-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build warnings in 2.9.1 #13
Comments
I think the extra arguments could just be sent as the normal payload. It looks like they get set by reading into the payload using host_desc[] and reading beyond its 16 byte size: wiseconnect-wifi-bt-sdk/sapi/driver/rsi_wlan.c Lines 3062 to 3073 in c95f054
and wiseconnect-wifi-bt-sdk/sapi/driver/rsi_wlan.c Lines 2374 to 2386 in c95f054
wiseconnect-wifi-bt-sdk/sapi/include/rsi_pkt_mgmt.h Lines 49 to 54 in c95f054
|
Still an issue in 2.9.1, updating title |
While updating from 2.8.0 to 2.9.0 I ran into these two "assignment from incompatible pointer type [-Wincompatible-pointer-types]" warnings in rsi_wlan_apis.c:
wiseconnect-wifi-bt-sdk/sapi/wlan/rsi_wlan_apis.c
Line 7850 in c95f054
and
wiseconnect-wifi-bt-sdk/sapi/wlan/rsi_wlan_apis.c
Line 7856 in c95f054
Both lines are in
uint16_t rsi_wlan_register_callbacks()
.This function takes a callback handler pointer of this type as an argument:
void (*callback_handler_ptr)(uint16_t status, uint8_t *buffer, const uint32_t length))
The two callbacks in question have these prototypes:
void (*sl_wifi_btr_80211_data_receive_cb)(RSI_STATUS status, uint8_t *buffer, uint32_t length, int8_t rssi, uint32_t rate);
and
void (*sl_wifi_btr_80211_tx_data_status_cb)(uint16_t status, uint32_t token, uint8_t priority, uint32_t rate);
I'm not currently using this feature, however I'd like to get rid of the warnings without hacking it up too badly.
The text was updated successfully, but these errors were encountered: