diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-11 13:45:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 13:45:24 +1100 |
commit | 501f2fdef115314713e94428d409e5c3b5bfc1c2 (patch) | |
tree | e454192658ed0000d1d814e2eab492410febe98f /quantum/visualizer | |
parent | 5b5d74a2677c281d12cd69825d2e252842786667 (diff) | |
download | qmk_firmware-501f2fdef115314713e94428d409e5c3b5bfc1c2.tar.gz qmk_firmware-501f2fdef115314713e94428d409e5c3b5bfc1c2.zip |
Normalise include statements in core code (#11153)
* Normalise include statements in core code
* Missed one
Diffstat (limited to 'quantum/visualizer')
-rw-r--r-- | quantum/visualizer/lcd_backlight.h | 2 | ||||
-rw-r--r-- | quantum/visualizer/led_backlight_keyframes.c | 2 | ||||
-rw-r--r-- | quantum/visualizer/visualizer.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/quantum/visualizer/lcd_backlight.h b/quantum/visualizer/lcd_backlight.h index 7b0b6a9fd..0a1535edf 100644 --- a/quantum/visualizer/lcd_backlight.h +++ b/quantum/visualizer/lcd_backlight.h | |||
@@ -24,7 +24,7 @@ SOFTWARE. | |||
24 | 24 | ||
25 | #ifndef LCD_BACKLIGHT_H_ | 25 | #ifndef LCD_BACKLIGHT_H_ |
26 | #define LCD_BACKLIGHT_H_ | 26 | #define LCD_BACKLIGHT_H_ |
27 | #include "stdint.h" | 27 | #include <stdint.h> |
28 | 28 | ||
29 | // Helper macros for storing hue, staturation and intensity as unsigned integers | 29 | // Helper macros for storing hue, staturation and intensity as unsigned integers |
30 | #define LCD_COLOR(hue, saturation, intensity) (hue << 16 | saturation << 8 | intensity) | 30 | #define LCD_COLOR(hue, saturation, intensity) (hue << 16 | saturation << 8 | intensity) |
diff --git a/quantum/visualizer/led_backlight_keyframes.c b/quantum/visualizer/led_backlight_keyframes.c index d81117d2b..338ada522 100644 --- a/quantum/visualizer/led_backlight_keyframes.c +++ b/quantum/visualizer/led_backlight_keyframes.c | |||
@@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |||
22 | SOFTWARE. | 22 | SOFTWARE. |
23 | */ | 23 | */ |
24 | #include "gfx.h" | 24 | #include "gfx.h" |
25 | #include "math.h" | 25 | #include <math.h> |
26 | #include "led_backlight_keyframes.h" | 26 | #include "led_backlight_keyframes.h" |
27 | 27 | ||
28 | static uint8_t fade_led_color(keyframe_animation_t* animation, int from, int to) { | 28 | static uint8_t fade_led_color(keyframe_animation_t* animation, int from, int to) { |
diff --git a/quantum/visualizer/visualizer.c b/quantum/visualizer/visualizer.c index 9e9cb6d41..709affbb7 100644 --- a/quantum/visualizer/visualizer.c +++ b/quantum/visualizer/visualizer.c | |||
@@ -26,7 +26,7 @@ SOFTWARE. | |||
26 | #include "visualizer.h" | 26 | #include "visualizer.h" |
27 | #include <string.h> | 27 | #include <string.h> |
28 | #ifdef PROTOCOL_CHIBIOS | 28 | #ifdef PROTOCOL_CHIBIOS |
29 | # include "ch.h" | 29 | # include <ch.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #include "gfx.h" | 32 | #include "gfx.h" |