Skip to content

Commit

Permalink
Merge pull request #260 from oxin-ros/master
Browse files Browse the repository at this point in the history
Fix RampGenerator debug print statement.
  • Loading branch information
gin66 authored May 23, 2024
2 parents 0539e9b + b1dd111 commit bec250c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RampGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ int8_t RampGenerator::startRun(bool countUp) {
#ifdef DEBUG
char buf[256];
sprintf(buf, "Ramp data: curr_ticks = %lu travel_ticks = %lu\n",
_rw.curr_ticks, _config->min_travel_ticks);
_rw.curr_ticks, _parameters.min_travel_ticks);
Serial.println(buf);
#endif
return MOVE_OK;
Expand Down

0 comments on commit bec250c

Please sign in to comment.