X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/blobdiff_plain/1eeada2c30052b0a811ccb2fffedb4c31cc22d77..63878dfbade33d8294c36c3e6d9435e2f5f32c08:/firmware/bootloaderconfig.h diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h index e2710c0..97311dd 100644 --- a/firmware/bootloaderconfig.h +++ b/firmware/bootloaderconfig.h @@ -165,7 +165,8 @@ these macros are defined, the boot loader usees them. static inline void bootLoaderInit(void) { - PORTD |= (1 << JUMPER_BIT); /* activate pull-up */ + DDRD = 0; + PORTD = (1 << JUMPER_BIT); /* activate pull-up */ // deactivated by Stephan - reset after each avrdude op is annoing! // if(!(MCUCSR & (1 << EXTRF))) /* If this was not an external reset, ignore */ // leaveBootloader();