diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-06-25 10:29:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-25 10:29:00 -0400 |
commit | de833659ae0408be6774ff10ebfcbf98fe0e10f1 (patch) | |
tree | bae192f0e883b4994d6d09766006029c58871eca /keyboards/ergodox/infinity/visualizer.c | |
parent | 62c77e7dbf0ac6d52448886bc6e1fda7551f94f5 (diff) | |
parent | 1e6a3f9e170759dd88ba29f67d35d9c34b3f8f8c (diff) | |
download | firmware-de833659ae0408be6774ff10ebfcbf98fe0e10f1.tar.gz firmware-de833659ae0408be6774ff10ebfcbf98fe0e10f1.tar.bz2 firmware-de833659ae0408be6774ff10ebfcbf98fe0e10f1.zip |
Merge pull request #1429 from fredizzimo/fixes_for_emulator
Minor fixes to support the emulator
Diffstat (limited to 'keyboards/ergodox/infinity/visualizer.c')
-rw-r--r-- | keyboards/ergodox/infinity/visualizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ergodox/infinity/visualizer.c b/keyboards/ergodox/infinity/visualizer.c index a4b09a34d..5b6b32007 100644 --- a/keyboards/ergodox/infinity/visualizer.c +++ b/keyboards/ergodox/infinity/visualizer.c @@ -123,7 +123,7 @@ void initialize_user_visualizer(visualizer_state_t* state) { start_keyframe_animation(&default_startup_animation); } -inline bool is_led_on(visualizer_user_data_t* user_data, uint8_t num) { +static inline bool is_led_on(visualizer_user_data_t* user_data, uint8_t num) { return user_data->led_on & (1u << num); } |