Changed AVRISP-MKII project to use the Watchdog interrupt for command timeouts, to reduce CPU usage and free timer 0 for other uses in the future.
This commit is contained in:
1 parent
ef44b8c036
commit
26017b68b0
10 files changed
+37
-35
No files matched your search
@@ -143,6 +143,8 @@ static void XPROGProtocol_LeaveXPROGMode(void)
|
||||
TINYNVM_DisableTPI();
|
||||
|
||||
#if defined(XCK_RESCUE_CLOCK_ENABLE) && defined(ENABLE_ISP_PROTOCOL)
|
||||
/* If the XCK rescue clock option is enabled, we need to restart it once the
|
||||
* XPROG mode has been exited, since the XPROG protocol stops it after use. */
|
||||
ISPTarget_ConfigureRescueClock();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user