-
-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Fix for Teensy RESET key. #160
Conversation
@@ -74,7 +74,21 @@ action_t action_for_key(uint8_t layer, keypos_t key) | |||
} else if (keycode == RESET) { // RESET is 0x5000, which is why this is here | |||
clear_keyboard(); | |||
_delay_ms(250); | |||
// bootloader_jump doesn't work for the Teensy | |||
#ifdef TEENSY |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this code to be a straight copy of the ´#ifdef __AVR_ATmega32U4__´ in ´bootloader_jump()´ in tmk_core/common/avr/bootloader.c. As of such these changes can be reduced to what's defined in PR #162.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the line you're referring to is commented out via the #if 0
here.
This looks good, but seems to be conflicting with master - would you mind pulling the latest updates? |
@jackhumbert After some testing I have found that #162 fixes the problem much more succinctly - not sure why. |
Interesting! Let's move this over to #162 then. |
Remove EXT_PLV define from default keymap as configurator doesn't support defines.
* Made build fail if compilation fails * Update auto-build.yml * Create auto-build.yml * Create auto-build.yml * Remove "bin/"
Let me know if there is a better way to declare the TEENSY config option.