diff options
author | Joel Challis <git@zvecr.com> | 2020-12-18 17:28:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 17:28:29 +0000 |
commit | a9f7d4dccc9cd0351658e64d5fbc809c93ac9b46 (patch) | |
tree | bfaaaf23c39f4ab72541309592e6f162b9ba4d06 /keyboards/omnikeyish | |
parent | 6ea4b06f9fc19825605477cdc27f5bec0f3dc0a9 (diff) |
Various compilation fixes for avr-gcc 10 (#9269)
Diffstat (limited to 'keyboards/omnikeyish')
-rw-r--r-- | keyboards/omnikeyish/dynamic_macro.c | 2 | ||||
-rw-r--r-- | keyboards/omnikeyish/dynamic_macro.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 <string.h> +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); |