Merge pull request #2215 from liux-pro/patch-1

Do not use "weak " symbols on Windows
... Thanks for the Update!
This commit is contained in:
olikraus authored and GitHub committed 2023-07-09 15:16:16 +02:00
commit 8bd0e39553
1 file changed
+1 -1
+1 -1
View File
@@ -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(__CYGWIN__)
#if defined(__GNUC__) && !defined(_WIN32)
# pragma weak u8x8_GetMenuEvent
#endif
uint8_t u8x8_GetMenuEvent(u8x8_t *u8x8)