Skip to content

Commit

Permalink
add brackets around condition in FastAccelStepper::fill_queue
Browse files Browse the repository at this point in the history
  • Loading branch information
gin66 committed Oct 31, 2024
1 parent e57f7b4 commit 8efade3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FastAccelStepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ void FastAccelStepper::fill_queue() {
uint32_t ticksPrepared = q->ticksInQueue();
while (!isQueueFull() &&
((ticksPrepared < _forward_planning_in_ticks) ||
q->queueEntries() <= 1) &&
(q->queueEntries() <= 1)) &&
_rg.isRampGeneratorActive()) {
#if (TEST_MEASURE_ISR_SINGLE_FILL == 1)
// For run time measurement
Expand Down

0 comments on commit 8efade3

Please sign in to comment.