summaryrefslogtreecommitdiffstats
path: root/firmware/bootloaderconfig.h
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2014-02-20 01:16:02 +0100
committercpldcpu <cpldcpu@gmail.com>2014-02-20 01:16:02 +0100
commit5b257aa2044dcc64ca7bfb63fdfdcbefadb42004 (patch)
tree2413e1e1bd288468c89fdb2611920795d892b61a /firmware/bootloaderconfig.h
parent9da799190ee21df5b48c425ac3df0d52613f0c95 (diff)
downloadmicronucleus-5b257aa2044dcc64ca7bfb63fdfdcbefadb42004.tar.gz
micronucleus-5b257aa2044dcc64ca7bfb63fdfdcbefadb42004.tar.bz2
micronucleus-5b257aa2044dcc64ca7bfb63fdfdcbefadb42004.zip
firmware: increase led speed
Diffstat (limited to 'firmware/bootloaderconfig.h')
-rw-r--r--firmware/bootloaderconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h
index 0ae3d2b..ff4805f 100644
--- a/firmware/bootloaderconfig.h
+++ b/firmware/bootloaderconfig.h
@@ -183,7 +183,7 @@ these macros are defined, the boot loader uses them.
*
*/
-#define ENTRYMODE ENTRY_ALWAYS
+#define ENTRYMODE ENTRY_EXT_RESET
#define JUMPER_PIN PB0
#define JUMPER_PORT PORTB
@@ -288,7 +288,7 @@ these macros are defined, the boot loader uses them.
// #define LED_INIT(x) LED_PORT &=~_BV(LED_PIN); // Use this with low active LED
#define LED_INIT(x) LED_PORT = _BV(LED_PIN); // Use this with high active LED
#define LED_EXIT(x) LED_DDR &=~_BV(LED_PIN);
- #define LED_MACRO(x) if ( x & 0xd0 ) {LED_DDR&=~_BV(LED_PIN);} else {LED_DDR|=_BV(LED_PIN);}
+ #define LED_MACRO(x) if ( x & 0x58 ) {LED_DDR&=~_BV(LED_PIN);} else {LED_DDR|=_BV(LED_PIN);}
#else
#define LED_INIT(x)
#define LED_EXIT(x)