Skip to content

Commit

Permalink
fix typo: volatile instead of inline
Browse files Browse the repository at this point in the history
  • Loading branch information
gin66 committed Aug 10, 2024
1 parent ba98fd7 commit db8a02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StepperISR.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class StepperQueue {
bool hasTicksInQueue(uint32_t min_ticks);
bool getActualTicksWithDirection(struct actual_ticks_s* speed);

volatile uint16_t getMaxSpeedInTicks() { return max_speed_in_ticks; }
inline uint16_t getMaxSpeedInTicks() { return max_speed_in_ticks; }

// startQueue is always called
void startQueue();
Expand Down

0 comments on commit db8a02b

Please sign in to comment.