File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ constexpr uint32_t ISRTIMEOUTCCYS = microsecondsToClockCycles(14);
54
54
// decrement the next IRQ's timer value by a bit so we can actually catch the
55
55
// real CPU cycle count we want for the waveforms.
56
56
constexpr int32_t DELTAIRQ = clockCyclesPerMicrosecond() == 160 ?
57
- microsecondsToClockCycles (4 ) >> 1 : microsecondsToClockCycles(4 );
57
+ microsecondsToClockCycles (1 ) >> 1 : microsecondsToClockCycles(1 );
58
58
// The latency between in-ISR rearming of the timer and the earliest firing
59
59
constexpr int32_t IRQLATENCY = clockCyclesPerMicrosecond() == 160 ?
60
- microsecondsToClockCycles (3 ) >> 1 : microsecondsToClockCycles(3 );
60
+ ( microsecondsToClockCycles(5 ) / 2 ) >> 1 : ( microsecondsToClockCycles(5 ) / 2 );
61
61
62
62
// Set/clear GPIO 0-15 by bitmask
63
63
#define SetGPIO (a ) do { GPOS = a; } while (0 )
You can’t perform that action at this time.
0 commit comments