From 20692fb90d1b40ed61b26795a769ad0c1165d8ec Mon Sep 17 00:00:00 2001 From: Legend Date: Sun, 2 Jul 2023 10:07:24 +0800 Subject: [PATCH] no weak on windows --- csrc/u8x8_debounce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csrc/u8x8_debounce.c b/csrc/u8x8_debounce.c index 3dc3eeef..d3277d09 100644 --- a/csrc/u8x8_debounce.c +++ b/csrc/u8x8_debounce.c @@ -136,7 +136,7 @@ uint8_t u8x8_GetMenuEvent(u8x8_t *u8x8) #define U8X8_DEBOUNCE_WAIT 2 /* do debounce and return a GPIO msg which indicates the event */ /* returns 0, if there is no event */ -#if defined(__GNUC__) && !defined(__WINDOWS__) +#if defined(__GNUC__) && !defined(_WIN32) # pragma weak u8x8_GetMenuEvent #endif uint8_t u8x8_GetMenuEvent(u8x8_t *u8x8)