DSM2 protocol also starts pulses before the splash

This commit is contained in:
bsongis
2012-03-15 20:26:07 +00:00
parent daff24615a
commit 8477f99762
+2 -2
View File
@@ -2207,7 +2207,7 @@ int main(void)
uint8_t cModel = g_eeGeneral.currModel;
if (g_model.protocol == PROTO_FAAST) startPulses();
if (g_model.protocol == PROTO_FAAST || g_model.protocol == PROTO_DSM2) startPulses();
#if defined (PCBV4)
if (MCUSR != (1 << PORF)) {
@@ -2278,7 +2278,7 @@ int main(void)
TCCR4B = (1 << WGM42) | (3<<CS40); // CTC OCR1A, 16MHz / 64 (4us ticks)
#endif
if (g_model.protocol != PROTO_FAAST) startPulses();
if (g_model.protocol != PROTO_FAAST && g_model.protocol != PROTO_DSM2) startPulses();
wdt_enable(WDTO_500MS);