summaryrefslogtreecommitdiff
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-07-24 19:56:45 +0100
committerGitHub <noreply@github.com>2021-07-24 19:56:45 +0100
commitb5bcd5b0a18079df1252a718588255c62d24a054 (patch)
tree886b84473e94718fed4de18a6d6c5b5b9e46eb89 /quantum/rgblight.h
parent145d89ab9192d08b7e22a14105d27988944b7b0c (diff)
Refactor some platform dependent logic (#13675)
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r--quantum/rgblight.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index 58250a0888..c05870f498 100644
--- a/quantum/rgblight.h
+++ b/quantum/rgblight.h
@@ -170,15 +170,12 @@ enum RGBLIGHT_EFFECT_MODE {
#include <stdint.h>
#include <stdbool.h>
+#include "progmem.h"
#include "eeconfig.h"
#include "ws2812.h"
#include "color.h"
#include "rgblight_list.h"
-#if defined(__AVR__)
-# include <avr/pgmspace.h>
-#endif
-
#ifdef RGBLIGHT_LAYERS
typedef struct {
uint8_t index; // The first LED to light