Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 2009 → Rev 1951

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