summaryrefslogtreecommitdiff
path: root/keyboards/ai03
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-12-18 17:28:29 +0000
committerGitHub <noreply@github.com>2020-12-18 17:28:29 +0000
commita9f7d4dccc9cd0351658e64d5fbc809c93ac9b46 (patch)
treebfaaaf23c39f4ab72541309592e6f162b9ba4d06 /keyboards/ai03
parent6ea4b06f9fc19825605477cdc27f5bec0f3dc0a9 (diff)
Various compilation fixes for avr-gcc 10 (#9269)
Diffstat (limited to 'keyboards/ai03')
-rw-r--r--keyboards/ai03/orbit/orbit.c2
-rw-r--r--keyboards/ai03/orbit/orbit.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/keyboards/ai03/orbit/orbit.c b/keyboards/ai03/orbit/orbit.c
index 2f149875b1..b51ddbc6e6 100644
--- a/keyboards/ai03/orbit/orbit.c
+++ b/keyboards/ai03/orbit/orbit.c
@@ -208,8 +208,6 @@ uint32_t layer_state_set_kb(uint32_t state) {
if (is_keyboard_master())
{
-
- current_layer = biton32(state);
serial_m2s_buffer.current_layer = biton32(state);
// If left half, do the LED toggle thing
diff --git a/keyboards/ai03/orbit/orbit.h b/keyboards/ai03/orbit/orbit.h
index 211b9ebca9..2ada881f3f 100644
--- a/keyboards/ai03/orbit/orbit.h
+++ b/keyboards/ai03/orbit/orbit.h
@@ -56,8 +56,6 @@
{ R40, R41, R42, R43, R44, R45, KC_NO } \
}
-uint8_t current_layer;
-
extern void led_toggle(int id, bool on);
void set_all_leds(bool leds[6]);
extern void set_layer_indicators(uint8_t layer);