ExecutionTime Multiplier, Hex Format

This commit is contained in:
2024-06-02 21:41:00 +02:00
parent 8bc6d5cfd0
commit 0ed167f822
6 changed files with 37 additions and 20 deletions

View File

@ -83,7 +83,7 @@ public class EEPROM {
public static void registerTime(boolean reset) {
if (reset)
startTime = getTotalExecutionTime();
else if ((getTotalExecutionTime() >= (startTime + 1)) && writeControl) {
else if ((getTotalExecutionTime() >= (startTime + 1000)) && writeControl) {
eecon2stages = new boolean[]{false, false};
DataRegister.setDirectBit(EECON1, EEIF, 1);
DataRegister.setDirectBit(EECON1, WR, 0);