summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/infinity/visualizer.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-22 19:49:41 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-06-24 00:34:16 +0300
commitf912c74fe7a4a7108e8966ebe4802eae92739dd1 (patch)
tree18e60a10f90932851474be5293b318171bc057de /keyboards/ergodox/infinity/visualizer.c
parent574ca7f59ce7b3408aa848f782adac5e3a2f4fb6 (diff)
Change inline to static inline
Diffstat (limited to 'keyboards/ergodox/infinity/visualizer.c')
-rw-r--r--keyboards/ergodox/infinity/visualizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ergodox/infinity/visualizer.c b/keyboards/ergodox/infinity/visualizer.c
index a4b09a34d0..5b6b320074 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);
}