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

Fix for Teensy RESET key. #160

Closed
wants to merge 1 commit into from
Closed

Conversation

aspickard
Copy link

Let me know if there is a better way to declare the TEENSY config option.

@@ -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
Copy link
Contributor

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.

Copy link
Member

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.

@jackhumbert
Copy link
Member

This looks good, but seems to be conflicting with master - would you mind pulling the latest updates?

@aspickard
Copy link
Author

@jackhumbert After some testing I have found that #162 fixes the problem much more succinctly - not sure why.

@jackhumbert
Copy link
Member

Interesting! Let's move this over to #162 then.

mfilej added a commit to mfilej/qmk_firmware that referenced this pull request Apr 4, 2016
BlueTufa pushed a commit to BlueTufa/qmk_firmware that referenced this pull request Aug 6, 2021
Remove EXT_PLV define from default keymap as configurator doesn't support defines.
Jpe230 pushed a commit to Jpe230/qmk_firmware that referenced this pull request Dec 15, 2021
* Made build fail if compilation fails

* Update auto-build.yml

* Create auto-build.yml

* Create auto-build.yml

* Remove "bin/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants