From cdc6a3b9ba0f9ca9dce78b5c79dc27cff213e7a4 Mon Sep 17 00:00:00 2001 From: Bluebie Date: Fri, 8 Feb 2013 21:45:33 +1100 Subject: D5 version for deuxvis --- firmware/bootloaderconfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware') 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) { -- cgit v1.2.3