Subversion Repositories Projects

Rev

Rev 489 | Rev 497 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 489 Rev 495
Line 343... Line 343...
343
                if (last_UBat == 255) {
343
                if (last_UBat == 255) {
344
                    // fix for min_UBat
344
                    // fix for min_UBat
345
                    min_UBat = debugData.Analog[9];
345
                    min_UBat = debugData.Analog[9];
346
                    init_cosd(debugData.Analog[9]);
346
                    init_cosd(debugData.Analog[9]);
347
                }
347
                }
348
                #include "osd_fcmode_default.c"
348
                #include OSD_FCMODE
349
            }
349
            }
350
#else
350
#else
351
            if (rxd_buffer[2] == 'O') { // NC OSD Data
351
            if (rxd_buffer[2] == 'O') { // NC OSD Data
352
                Decode64();
352
                Decode64();
353
                naviData = *((NaviData_t*) pRxData);
353
                naviData = *((NaviData_t*) pRxData);
Line 356... Line 356...
356
                if (last_UBat == 255) {
356
                if (last_UBat == 255) {
357
                    // fix for min_UBat
357
                    // fix for min_UBat
358
                    min_UBat = naviData.UBat;
358
                    min_UBat = naviData.UBat;
359
                    init_cosd(naviData.UBat);
359
                    init_cosd(naviData.UBat);
360
                }
360
                }
361
                #include "osd_ncmode_default.c"
361
                #include OSD_NCMODE
362
            }
362
            }
363
#endif
363
#endif
364
            rxd_buffer_locked = 0;
364
            rxd_buffer_locked = 0;
365
        }
365
        }
366
        // handle keypress
366
        // handle keypress