summaryrefslogtreecommitdiffstats
path: root/firmware/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/main.c')
-rw-r--r--firmware/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/main.c b/firmware/main.c
index 2d6036f..57987e1 100644
--- a/firmware/main.c
+++ b/firmware/main.c
@@ -10,7 +10,7 @@
*/
#define MICRONUCLEUS_VERSION_MAJOR 1
-#define MICRONUCLEUS_VERSION_MINOR 6
+#define MICRONUCLEUS_VERSION_MINOR 10
// how many milliseconds should host wait till it sends another erase or write?
// needs to be above 4.5 (and a whole integer) as avr freezes for 4.5ms
#define MICRONUCLEUS_WRITE_SLEEP 8
@@ -420,7 +420,7 @@ int main(void) {
#endif
# if LED_PRESENT
- LED_PORT &=~_BV(LED_PIN);
+ LED_INIT();
# endif
initForUsbConnectivity();
@@ -463,7 +463,7 @@ int main(void) {
#endif
# if LED_PRESENT
- LED_DDR &=~_BV(LED_PIN);
+ LED_EXIT();
# endif
# if OSCCAL_RESTORE