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:
bsongis
2012-03-19 21:20:17 +00:00
parent 5f56761842
commit 16bf388c30
+3 -4
View File
@@ -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);