From a9f7d4dccc9cd0351658e64d5fbc809c93ac9b46 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 18 Dec 2020 17:28:29 +0000 Subject: Various compilation fixes for avr-gcc 10 (#9269) --- keyboards/omnikeyish/dynamic_macro.c | 2 ++ keyboards/omnikeyish/dynamic_macro.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/omnikeyish') diff --git a/keyboards/omnikeyish/dynamic_macro.c b/keyboards/omnikeyish/dynamic_macro.c index c359b0bdd0..9dd0340099 100644 --- a/keyboards/omnikeyish/dynamic_macro.c +++ b/keyboards/omnikeyish/dynamic_macro.c @@ -1,6 +1,8 @@ #include QMK_KEYBOARD_H #include +dynamic_macro_t dynamic_macros[DYNAMIC_MACRO_COUNT]; + void dynamic_macro_init(void) { /* zero out macro blocks */ memset(&dynamic_macros, 0, DYNAMIC_MACRO_COUNT * sizeof(dynamic_macro_t)); diff --git a/keyboards/omnikeyish/dynamic_macro.h b/keyboards/omnikeyish/dynamic_macro.h index 87665c443b..68e129a9e9 100644 --- a/keyboards/omnikeyish/dynamic_macro.h +++ b/keyboards/omnikeyish/dynamic_macro.h @@ -71,8 +71,6 @@ typedef struct { uint16_t checksum; } dynamic_macro_t; -dynamic_macro_t dynamic_macros[DYNAMIC_MACRO_COUNT]; - void dynamic_macro_init(void); void dynamic_macro_led_blink(void); void dynamic_macro_record_start(uint8_t macro_id); -- cgit v1.2.1