From 4e2369693f7f2ef654db35d158af5cddb98d9703 Mon Sep 17 00:00:00 2001 From: Konstantin Đorđević Date: Mon, 18 Feb 2019 04:05:12 +0100 Subject: Move RGBLIGHT_LIMIT_VAL definition from rgblight.c to rgblight.h (#5167) --- quantum/rgblight.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'quantum/rgblight.h') diff --git a/quantum/rgblight.h b/quantum/rgblight.h index aa608d424..f92388c96 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h @@ -121,6 +121,9 @@ enum RGBLIGHT_EFFECT_MODE { #ifndef RGBLIGHT_VAL_STEP #define RGBLIGHT_VAL_STEP 17 #endif +#ifndef RGBLIGHT_LIMIT_VAL +#define RGBLIGHT_LIMIT_VAL 255 +#endif #define RGBLED_TIMER_TOP F_CPU/(256*64) // #define RGBLED_TIMER_TOP 0xFF10 -- cgit v1.2.3-24-g4f1b