We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acaca6f commit 15342d3Copy full SHA for 15342d3
components/crsf/crsf.c
@@ -226,7 +226,8 @@ void crsf_get_ChannelData_task(void *arg)
226
struct os_mbuf *om;
227
228
if(notify_state_report_data){
229
- om = ble_hs_mbuf_from_flat(&channelData, sizeof(channelData));
+ //dann passt die größe vom paket zu den report deskriptor wenn 17 fesst vorprogrammiert ist --> sizeof(channelData) gibt 18
230
+ om = ble_hs_mbuf_from_flat(&channelData, 17);
231
//Deprecated. Should not be used. Use ble_gatts_notify_custom instead.
232
rc = ble_gattc_notify_custom(conn_handle, report_data_handle, om);
233
0 commit comments