summaryrefslogtreecommitdiffstats
path: root/firmware/bootloaderconfig.h
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2013-11-25 11:32:25 +0100
committercpldcpu <cpldcpu@gmail.com>2013-11-25 11:32:25 +0100
commitee04a7bdce79204aa0373d2e920aad057a5ddc04 (patch)
treec3338e788331313c0e7a64caff6cb36cdc3b9070 /firmware/bootloaderconfig.h
parent5667aca71a6f98179b60871632bb05fe7e7e8cd5 (diff)
downloadmicronucleus-ee04a7bdce79204aa0373d2e920aad057a5ddc04.tar.gz
micronucleus-ee04a7bdce79204aa0373d2e920aad057a5ddc04.tar.bz2
micronucleus-ee04a7bdce79204aa0373d2e920aad057a5ddc04.zip
Disables
Diffstat (limited to 'firmware/bootloaderconfig.h')
-rw-r--r--firmware/bootloaderconfig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h
index 7471d63..a3afc4c 100644
--- a/firmware/bootloaderconfig.h
+++ b/firmware/bootloaderconfig.h
@@ -281,7 +281,7 @@ these macros are defined, the boot loader uses them.
* All values are approx. in milliseconds
*/
-#define AUTO_EXIT_NO_USB_MS 500
+#define AUTO_EXIT_NO_USB_MS 0
#define AUTO_EXIT_MS 6000
/*
@@ -327,8 +327,8 @@ these macros are defined, the boot loader uses them.
#define LED_PORT PORTB
#define LED_PIN PB1
-#define LED_INIT LED_PORT &=~_BV(LED_PIN);
-#define LED_EXIT LED_DDR &=~_BV(LED_PIN);
+#define LED_INIT(x) LED_PORT &=~_BV(LED_PIN);
+#define LED_EXIT(x) LED_DDR &=~_BV(LED_PIN);
#define LED_MACRO(x) if ( x & 0xd ) {LED_DDR&=~_BV(LED_PIN);} else {LED_DDR|=_BV(LED_PIN);}
#endif /* __ASSEMBLER__ */