mendel.c: Enable DEBUG_LED_PIN output if defined.

This commit is contained in:
David Forrest 2014-05-18 10:25:02 -04:00 committed by Markus Hitter
parent 9d5d2a5492
commit 2bf98feaaa
1 changed files with 5 additions and 0 deletions

View File

@ -190,6 +190,11 @@ void io_init(void) {
WRITE(RX_ENABLE_PIN,0); WRITE(RX_ENABLE_PIN,0);
disable_transmit(); disable_transmit();
#endif #endif
#ifdef DEBUG_LED_PIN
WRITE(DEBUG_LED_PIN, 0);
SET_OUTPUT(DEBUG_LED_PIN);
#endif
} }
/// Startup code, run when we come out of reset /// Startup code, run when we come out of reset