I revert my last change on pulses started as soon as the radio is on for FAAST and DSM2. Now only the splash screen is removed in these both cases. Security is saved.
This commit is contained in:
+3
-4
@@ -2158,8 +2158,6 @@ int main(void)
|
||||
|
||||
uint8_t cModel = g_eeGeneral.currModel;
|
||||
|
||||
if (g_model.protocol == PROTO_FAAST || g_model.protocol == PROTO_DSM2) startPulses();
|
||||
|
||||
#if defined (PCBV4)
|
||||
if (MCUSR != (1 << PORF)) {
|
||||
#else
|
||||
@@ -2167,7 +2165,8 @@ int main(void)
|
||||
#endif
|
||||
|
||||
#ifdef SPLASH
|
||||
doSplash();
|
||||
if (g_model.protocol != PROTO_FAAST && g_model.protocol != PROTO_DSM2)
|
||||
doSplash();
|
||||
#endif
|
||||
|
||||
checkLowEEPROM();
|
||||
@@ -2227,7 +2226,7 @@ int main(void)
|
||||
TCCR4B = (1 << WGM42) | (3<<CS40); // CTC OCR1A, 16MHz / 64 (4us ticks)
|
||||
#endif
|
||||
|
||||
if (g_model.protocol != PROTO_FAAST && g_model.protocol != PROTO_DSM2) startPulses();
|
||||
startPulses();
|
||||
|
||||
wdt_enable(WDTO_500MS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user