Skip to content

Commit 232e008

Browse files
committed
Reverting maximum IRQ period to 10ms. This sets the wave reprogramming rate to 100Hz max.
1 parent 25c625d commit 232e008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/core_esp8266_waveform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#include <atomic>
4646

4747
// Maximum delay between IRQs, Timer1, <= 2^23 / 80MHz
48-
constexpr int32_t MAXIRQTICKSCCYS = microsecondsToClockCycles(100000);
48+
constexpr int32_t MAXIRQTICKSCCYS = microsecondsToClockCycles(10000);
4949
// Maximum servicing time for any single IRQ
5050
constexpr uint32_t ISRTIMEOUTCCYS = microsecondsToClockCycles(14);
5151
// The SDK and hardware take some time to actually get to our NMI code, so

0 commit comments

Comments
 (0)