aboutsummaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorJames Churchill <pelrun@gmail.com>2019-03-13 03:23:28 +1000
committerDrashna Jaelre <drashna@live.com>2019-03-12 10:23:28 -0700
commit37932c293c15011f883a91e91ee02631ead44a2e (patch)
treef1b4b3b44f816240b06580658b42b3646f121025 /tmk_core
parent25bb059e4e42ed2637202230ff3d8b765e1295cd (diff)
downloadqmk_firmware-37932c293c15011f883a91e91ee02631ead44a2e.tar.gz
qmk_firmware-37932c293c15011f883a91e91ee02631ead44a2e.zip
Next set of split_common changes (#4974)
* Update split_common to use standard i2c drivers * Eliminate RGB_DIRTY/BACKLIT_DIRTY * Fix avr i2c_master error handling * Fix i2c_slave addressing * Remove unneeded timeout on i2c_stop() * Fix RGB I2C transfers * Remove incorrect comment
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/avr/suspend.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c
index b29447ac4..2259201b5 100644
--- a/tmk_core/common/avr/suspend.c
+++ b/tmk_core/common/avr/suspend.c
@@ -11,9 +11,6 @@
11#include "led.h" 11#include "led.h"
12#include "host.h" 12#include "host.h"
13#include "rgblight_reconfig.h" 13#include "rgblight_reconfig.h"
14#ifdef SPLIT_KEYBOARD
15 #include "split_flags.h"
16#endif
17 14
18#ifdef PROTOCOL_LUFA 15#ifdef PROTOCOL_LUFA
19 #include "lufa.h" 16 #include "lufa.h"
@@ -135,9 +132,6 @@ static void power_down(uint8_t wdto) {
135 is_suspended = true; 132 is_suspended = true;
136 rgblight_enabled = rgblight_config.enable; 133 rgblight_enabled = rgblight_config.enable;
137 rgblight_disable_noeeprom(); 134 rgblight_disable_noeeprom();
138 #ifdef SPLIT_KEYBOARD
139 RGB_DIRTY = true;
140 #endif
141 } 135 }
142#endif 136#endif
143 suspend_power_down_kb(); 137 suspend_power_down_kb();
@@ -216,9 +210,6 @@ void suspend_wakeup_init(void) {
216 wait_ms(10); 210 wait_ms(10);
217 #endif 211 #endif
218 rgblight_enable_noeeprom(); 212 rgblight_enable_noeeprom();
219 #ifdef SPLIT_KEYBOARD
220 RGB_DIRTY = true;
221 #endif
222 } 213 }
223#ifdef RGBLIGHT_ANIMATIONS 214#ifdef RGBLIGHT_ANIMATIONS
224 rgblight_timer_enable(); 215 rgblight_timer_enable();