diff options
author | Bluebie <a@creativepony.com> | 2013-02-08 21:45:33 +1100 |
---|---|---|
committer | Bluebie <a@creativepony.com> | 2013-02-08 21:45:33 +1100 |
commit | cdc6a3b9ba0f9ca9dce78b5c79dc27cff213e7a4 (patch) | |
tree | 0841f30a24f72e44142641363aad5d2c28df7328 /firmware/bootloaderconfig.h | |
parent | ebbc5f6663cd73397f8e1c25afbb47d2f06548db (diff) | |
download | micronucleus-cdc6a3b9ba0f9ca9dce78b5c79dc27cff213e7a4.tar.gz micronucleus-cdc6a3b9ba0f9ca9dce78b5c79dc27cff213e7a4.tar.bz2 micronucleus-cdc6a3b9ba0f9ca9dce78b5c79dc27cff213e7a4.zip |
D5 version for deuxvis
Diffstat (limited to 'firmware/bootloaderconfig.h')
-rw-r--r-- | firmware/bootloaderconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h index 25773da..75ca572 100644 --- a/firmware/bootloaderconfig.h +++ b/firmware/bootloaderconfig.h @@ -241,7 +241,7 @@ these macros are defined, the boot loader uses them. /* #define USB_INTR_VECTOR INT0_vect */ // todo: change to pin 5 -#define DEUXVIS_JUMPER_PIN 0 +#define DEUXVIS_JUMPER_PIN 5 #define digitalRead(pin) ((PINB >> pin) & 0b00000001) #define bootLoaderStartCondition() (!digitalRead(DEUXVIS_JUMPER_PIN)) #define bootLoaderCondition() (1) @@ -252,6 +252,7 @@ static inline void bootLoaderInit(void) { // DeuxVis pin-5 pullup DDRB |= _BV(DEUXVIS_JUMPER_PIN); // is an input PORTB |= _BV(DEUXVIS_JUMPER_PIN); // has pullup enabled + _delay_ms(10); } static inline void bootLoaderExit(void) { |