summaryrefslogtreecommitdiff
path: root/users/xulkal/custom_rgb.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/xulkal/custom_rgb.h')
-rw-r--r--users/xulkal/custom_rgb.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/users/xulkal/custom_rgb.h b/users/xulkal/custom_rgb.h
index f19dd223c2..10010b5242 100644
--- a/users/xulkal/custom_rgb.h
+++ b/users/xulkal/custom_rgb.h
@@ -1,9 +1,12 @@
#pragma once
#if defined(RGB_MATRIX_ENABLE)
-#include "rgb_matrix.h"
+# include "rgb_matrix.h"
#elif defined(RGBLIGHT_ENABLE)
-#include "rgblight.h"
+# if !defined(__AVR__)
+# define PROGMEM
+# endif
+# include "rgblight.h"
#endif
#ifdef RGB_MATRIX_ENABLE