[Keyboard] Fix detection of Iris rev number used to set bootloader (#6226)

master
Danny 2019-07-01 15:21:09 -04:00 committed by Drashna Jaelre
parent 7ab99528d8
commit 2c41b69d3e
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ F_USB = $(F_CPU)
# This definition is optional, and if your keyboard supports multiple bootloaders of # This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded # different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options. # automatically (+60). See bootloader.mk for all options.
ifeq ($(strip $(KEYBOARD)), iris/rev3) ifneq (, $(findstring rev3, $(KEYBOARD)))
BOOTLOADER = qmk-dfu BOOTLOADER = qmk-dfu
else else
BOOTLOADER = caterina BOOTLOADER = caterina

View File

@ -38,8 +38,8 @@ F_USB = $(F_CPU)
# This definition is optional, and if your keyboard supports multiple bootloaders of # This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded # different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options. # automatically (+60). See bootloader.mk for all options.
ifeq ($(strip $(KEYBOARD)), nyquist/rev3) ifneq (, $(findstring rev3, $(KEYBOARD)))
BOOTLOADER = dfu BOOTLOADER = qmk-dfu
else else
BOOTLOADER = caterina BOOTLOADER = caterina
endif endif