Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates bootloader settings, adds file size check #2029

Merged
merged 13 commits into from
Nov 28, 2017
Prev Previous commit
Next Next commit
missing an n
  • Loading branch information
jackhumbert committed Nov 21, 2017
commit 0312b31c50fac23e10e754771e65ed470d954d4b
2 changes: 1 addition & 1 deletion tmk_core/common/avr/bootloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void bootloader_jump(void) {

#else // Assume remaining boards are DFU, even if the flag isn't set

#ifdef __AVR_ATmega32A__ // no USB - maybe BOOTLOADER_BOOTLOADHID instead though?
#ifndef __AVR_ATmega32A__ // no USB - maybe BOOTLOADER_BOOTLOADHID instead though?
UDCON = 1;
USBCON = (1<<FRZCLK); // disable USB
UCSR1B = 0;
Expand Down