From e5864cd471217db9775043026c171405e49e7de8 Mon Sep 17 00:00:00 2001 From: skullydazed Date: Tue, 22 Oct 2019 23:57:04 -0700 Subject: [PATCH] Update tmk_core/common/wait.h Co-Authored-By: Drashna Jaelre --- tmk_core/common/wait.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/common/wait.h b/tmk_core/common/wait.h index 3bec7188106..286a36d4cae 100644 --- a/tmk_core/common/wait.h +++ b/tmk_core/common/wait.h @@ -14,7 +14,7 @@ extern "C" { #elif defined PROTOCOL_CHIBIOS # include "ch.h" // FIXME: This doesn't compile if `NKRO_ENABLED = no` -# define wait_ms(ms) chSysPolledDelayX(MS2RTC(STM32_SYSCLK, x)) +# define wait_ms(ms) chSysPolledDelayX(MS2RTC(STM32_SYSCLK, ms)) # define wait_us(us) chSysPolledDelayX(US2RTC(STM32_SYSCLK, x)) #elif defined PROTOCOL_ARM_ATSAM # include "clks.h"