Skip to content

Commit

Permalink
Fix timerBegin for espressif_3.0
Browse files Browse the repository at this point in the history
h4\h4.ino:570:37: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
570 | hw_timer_t async_timer = timerBegin(0, 80, true);
| ~~~~~~~~~~^~~~~~~~~~~~~
'hw_timer_t timerBegin(uint32_t)'
  • Loading branch information
kotovasia5120 committed Jul 29, 2024
1 parent ee9b80e commit 40cf991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h4/h4.ino
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ int gcodeProgramCount = 0;
String gcodeProgram = "";
int gcodeProgramCharIndex = 0;

hw_timer_t *async_timer = timerBegin(0, 80, true);
hw_timer_t *async_timer = timerBegin(80);
bool timerAttached = false;

int getApproxRpm() {
Expand Down

0 comments on commit 40cf991

Please sign in to comment.