Skip to content

Commit

Permalink
[Bug] Fix hack for chibiOS reset name (#15984)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Jan 22, 2022
1 parent 3a27f06 commit 909003c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantum/keymap.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "keycode_config.h"

// ChibiOS uses RESET in its FlagStatus enumeration
// Therefore define it as QK_RESET here, to avoid name collision
// Therefore define it as QK_BOOTLOADER here, to avoid name collision
#if defined(PROTOCOL_CHIBIOS)
# define RESET QK_RESET
# define RESET QK_BOOTLOADER
#endif
// Gross hack, remove me and change RESET keycode to QK_BOOT
#if defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1287__)
Expand Down

0 comments on commit 909003c

Please sign in to comment.