implemented Clrwdt Instruction

This commit is contained in:
Darkress
2023-06-17 22:51:46 +02:00
parent 9f2a814c34
commit 02f7e52856
3 changed files with 29 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ public class Watchdog
return watchdogTimer;
}
public static void resetWatchdogTimer() {
watchdogTimer = 18000;
}
public static void decreaseWatchdogTimer()
{
watchdogTimer--;