PWM fixes, slow down fan update

include LPC1768 syntax for M42

couple more pin_t changes

consistency

change M42 to R, P format

Revert "change M42 to R, P format"

This reverts commit 01f12f579ec9ccc1bb9126e68d2c86449e9b7edf.
This commit is contained in:
Bob-the-Kuhn
2017-11-15 19:01:52 -06:00
committed by Scott Lahteine
parent 60adc6ff02
commit c14000775b
7 changed files with 371 additions and 364 deletions

View File

@ -522,7 +522,12 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
tmc2130_checkOverTemp();
#endif
planner.check_axes_activity();
// Limit check_axes_activity frequency to 10Hz
static millis_t next_check_axes_ms = 0;
if (ELAPSED(ms, next_check_axes_ms)) {
planner.check_axes_activity();
next_check_axes_ms = ms + 100UL;
}
}
/**