[Bug] Fix hack for chibiOS reset name (#15984)
parent
3a27f065b7
commit
909003cce9
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue