From 442c96e89851ea3ace56ceb513117daa82011cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Thu, 9 Nov 2017 11:03:15 +0100 Subject: [PATCH] Fix LIGHT_MAX_PWM for MY9291 devices --- code/espurna/config/general.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index 974c446a..2dda1743 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -500,7 +500,7 @@ PROGMEM const char* const custom_reset_string[] = { #ifndef LIGHT_MAX_PWM #if LIGHT_PROVIDER == LIGHT_PROVIDER_MY9192 -#define LIGHT_MAX_PWM 256 +#define LIGHT_MAX_PWM 255 #endif #if LIGHT_PROVIDER == LIGHT_PROVIDER_DIMMER