X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/blobdiff_plain/54be5a8c0a5b57f2f74b605ddf71c334f6a7a69b..c99e4b0f4e8dc636060fca152df271298caa8342:/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();