Clean up recent contribs

This commit is contained in:
Scott Lahteine
2018-10-16 06:45:44 -05:00
parent 8b5e51c9aa
commit cce4931342
3 changed files with 7 additions and 8 deletions

View File

@ -57,9 +57,8 @@ void setup_endstop_interrupts(void) {
#endif
#if HAS_Z3_MIN
attachInterrupt(Z3_MIN_PIN, endstop_ISR, CHANGE);
#endif
#endif
#if HAS_Z_MIN_PROBE_PIN
attachInterrupt(Z_MIN_PROBE_PIN, endstop_ISR, CHANGE);
#endif
}

View File

@ -31,12 +31,10 @@
void watchdog_init() { IWatchdog.begin(4000000); } // 4 sec timeout
void watchdog_reset()
{
IWatchdog.reload();
void watchdog_reset() {
IWatchdog.reload();
#if PIN_EXISTS(LED)
TOGGLE(LED_PIN); // heart beat indicator
TOGGLE(LED_PIN); // heartbeat indicator
#endif
}