HAL updates

This commit is contained in:
Scott Lahteine
2017-09-06 06:28:32 -05:00
parent 65996e4235
commit 54326fb06a
52 changed files with 327 additions and 378 deletions

View File

@@ -23,16 +23,16 @@
#ifndef WATCHDOG_TEENSY_H
#define WATCHDOG_TEENSY_H
//#include "../../../Marlin.h"
#include "../HAL.h"
// Arduino Due core now has watchdog support
void watchdog_init();
inline void watchdog_reset() {
// Watchdog refresh sequence
WDOG_REFRESH = 0xA602;
WDOG_REFRESH = 0xB480;
// Watchdog refresh sequence
WDOG_REFRESH = 0xA602;
WDOG_REFRESH = 0xB480;
}
#endif /* WATCHDOG_TEENSY_H */
#endif // WATCHDOG_TEENSY_H