summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/espneopixel.c
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/espneopixel.c')
-rw-r--r--esp8266/espneopixel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/espneopixel.c b/esp8266/espneopixel.c
index 27c7731064..6c76591865 100644
--- a/esp8266/espneopixel.c
+++ b/esp8266/espneopixel.c
@@ -33,7 +33,7 @@ void /*ICACHE_RAM_ATTR*/ esp_neopixel_write(uint8_t pin, uint8_t *pixels, uint32
#ifdef NEO_KHZ400
if(is800KHz) {
#endif
- time0 = fcpu / 2500000; // 0.4us
+ time0 = fcpu / 2857143; // 0.35us
time1 = fcpu / 1250000; // 0.8us
period = fcpu / 800000; // 1.25us per bit
#ifdef NEO_KHZ400