]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Keyboard] Fix detection of Iris rev number used to set bootloader (#6226)
authorDanny <nooges@users.noreply.github.com>
Mon, 1 Jul 2019 19:21:09 +0000 (15:21 -0400)
committerDrashna Jaelre <drashna@live.com>
Mon, 1 Jul 2019 19:21:09 +0000 (12:21 -0700)
keyboards/keebio/iris/rules.mk
keyboards/keebio/nyquist/rules.mk

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