/C-OSD/trunk/main.c |
---|
363,7 → 363,9 |
#if FCONLY |
if (rxd_buffer[2] == 'D') { // FC Data |
Decode64(); |
debugData = *((str_DebugOut*)pRxData); |
//debugData = *((str_DebugOut*)pRxData); |
memcpy((char*)(&debugData), (char*)pRxData, sizeof(str_DebugOut)); |
rxd_buffer_locked = 0; |
// init on first data retrival, distinguished by last battery :) |
if (last_UBat == 255) { |
377,7 → 379,9 |
osd_fcmode(); |
} |
seconds_since_last_data = 0; |
} |
} else { |
rxd_buffer_locked = 0; |
} |
#else |
if (rxd_buffer[2] == 'O') { // NC OSD Data |
Decode64(); |