summaryrefslogtreecommitdiffstats
path: root/firmware/configuration/Nanite841/bootloaderconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/configuration/Nanite841/bootloaderconfig.h')
-rw-r--r--firmware/configuration/Nanite841/bootloaderconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/configuration/Nanite841/bootloaderconfig.h b/firmware/configuration/Nanite841/bootloaderconfig.h
index 930d9ef..c081aad 100644
--- a/firmware/configuration/Nanite841/bootloaderconfig.h
+++ b/firmware/configuration/Nanite841/bootloaderconfig.h
@@ -239,7 +239,7 @@
#define ACTIVE_LOW 2
#if LED_MODE==ACTIVE_HIGH
- #define LED_INIT(x) LED_DDR = _BV(LED_PIN);
+ #define LED_INIT(x) LED_DDR |= _BV(LED_PIN);
#define LED_EXIT(x) {LED_DDR &=~_BV(LED_PIN);LED_PORT &=~_BV(LED_PIN);}
#define LED_MACRO(x) if ( x & 0x4c ) {LED_PORT&=~_BV(LED_PIN);} else {LED_PORT|=_BV(LED_PIN);}
#elif LED_MODE==ACTIVE_LOW