Add millis helper macros

This commit is contained in:
Scott Lahteine
2020-04-03 19:49:45 -05:00
parent 723d4d6f61
commit 0e06aaa2bc
10 changed files with 26 additions and 23 deletions

View File

@@ -988,7 +988,7 @@ void GcodeSuite::process_subcommands_now(char * gcode) {
break;
}
}
next_busy_signal_ms = ms + host_keepalive_interval * 1000UL;
next_busy_signal_ms = ms + SEC_TO_MS(host_keepalive_interval);
}
#endif // HOST_KEEPALIVE_FEATURE