From b4f76c66d5de9ae035332ac787a36e4a26ce223a Mon Sep 17 00:00:00 2001 From: gunner47 Date: Tue, 10 Dec 2019 00:17:20 +0200 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BE=D0=BA?= =?UTF-8?q?=20=D0=B2=20=D1=80=D0=B0=D0=B1=D0=BE=D1=87=D0=B5=D0=BC=20=D1=80?= =?UTF-8?q?=D0=B5=D0=B6=D0=B8=D0=BC=D0=B5=20=D1=82=D0=BE=D1=87=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firmware/GyverLamp_v1.4/Constants.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/GyverLamp_v1.4/Constants.h b/firmware/GyverLamp_v1.4/Constants.h index dbc96c9..e81fdda 100644 --- a/firmware/GyverLamp_v1.4/Constants.h +++ b/firmware/GyverLamp_v1.4/Constants.h @@ -145,9 +145,9 @@ bool telnetGreetingShown = false; // признак " #endif // --- БИБЛИОТЕКИ ---------------------- -#define FASTLED_INTERRUPT_RETRY_COUNT (0U) -#define FASTLED_ALLOW_INTERRUPTS (0U) -#define FASTLED_ESP8266_RAW_PIN_ORDER +#define FASTLED_INTERRUPT_RETRY_COUNT (0) // default: 2; // Use this to determine how many times FastLED will attempt to re-transmit a frame if interrupted for too long by interrupts +//#define FASTLED_ALLOW_INTERRUPTS (1) // default: 1; // Use this to force FastLED to allow interrupts in the clockless chipsets (or to force it to disallow), overriding the default on platforms that support this. Set the value to 1 to allow interrupts or 0 to disallow them. +#define FASTLED_ESP8266_RAW_PIN_ORDER // FASTLED_ESP8266_RAW_PIN_ORDER, FASTLED_ESP8266_D1_PIN_ORDER or FASTLED_ESP8266_NODEMCU_PIN_ORDER #define NUM_LEDS (uint16_t)(WIDTH * HEIGHT) #define SEGMENTS (1U) // диодов в одном "пикселе" (для создания матрицы из кусков ленты)