Skip to content

Commit

Permalink
Same MIN_FRAME_DELAY=3 for -C3 and -S2
Browse files Browse the repository at this point in the history
  • Loading branch information
softhack007 authored Nov 21, 2024
1 parent 001e2ad commit 6790f8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wled00/FX.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
#define FRAMETIME strip.getFrameTime()
#if defined(ARDUINO_ARCH_ESP32) && !defined(CONFIG_IDF_TARGET_ESP32C3) && !defined(CONFIG_IDF_TARGET_ESP32S2)
#define MIN_FRAME_DELAY 2 // minimum wait between repaints, to keep other functions like WiFi alive
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
#define MIN_FRAME_DELAY 4 // S2 is slower than normal esp32, and only has one core
#elif defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3)
#define MIN_FRAME_DELAY 3 // S2/C3 are slower than normal esp32, and only have one core
#else
#define MIN_FRAME_DELAY 8 // 8266 legacy MIN_SHOW_DELAY
#endif
Expand Down

0 comments on commit 6790f8a

Please sign in to comment.