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/ai03/orbit/orbit.c | 2 -- keyboards/ai03/orbit/orbit.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'keyboards/ai03/orbit') 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); -- cgit v1.2.3