From bd68c71e20da156a4eb8119f70574292a5c54eae Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 9 Sep 2016 09:27:57 +0900 Subject: [PATCH] core: Fix dfu wait in rules.mk --- tmk_core/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index 987b580c..66b4cbd8 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -421,7 +421,7 @@ flip: $(TARGET).hex dfu: $(TARGET).hex @echo -n dfu-programmer: waiting - @until dfu-programmer atmega32u4 get bootloader-version > /dev/null 2>&1; do \ + @until dfu-programmer $(MCU) get bootloader-version > /dev/null 2>&1; do \ echo -n "."; \ sleep 1; \ done -- 2.46.2