From: tmk Date: Fri, 9 Sep 2016 00:27:57 +0000 (+0900) Subject: core: Fix dfu wait in rules.mk X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=bd68c71e20da156a4eb8119f70574292a5c54eae;p=max%2Ftmk_keyboard.git core: Fix dfu wait in rules.mk --- 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