diff --git a/src/hardware.c b/src/hardware.c index 5105d6d..a648a81 100644 --- a/src/hardware.c +++ b/src/hardware.c @@ -514,10 +514,10 @@ void Init_HW() { #ifdef RESET_CONFIG reset_config(); #endif - + GetVtxParameter(); Get_EEP_LifeTime(); - + camera_switch_init(); camera_init(); @@ -1023,10 +1023,12 @@ void video_detect(void) { } cameraLost = (ReadReg(0, 0x02) >> 4) & 1; +#ifdef USE_TP9950 if (camera_type == CAMERA_TYPE_OUTDATED) { cameraLost |= (I2C_Read8(ADDR_TP9950, 0x01) != 0x7E); return; } +#endif if (sec == 3) { sec = 0;