Print elapsed time for unlock in hardware verifier

This commit is contained in:
Tom Nisbet 2019-06-09 16:37:20 -04:00
parent 4529343228
commit 82acfde3e3

View File

@ -236,7 +236,11 @@ void loop()
case 'u':
Serial.println(F("Writing the unlock code to disable Software Write Protect mode."));
unsigned long timeStart = micros();
prom.disableSoftwareWriteProtect();
unsigned long timeEnd = micros();
Serial.print("Unlock command time in uSec=");
Serial.println(timeEnd - timeStart);
break;
default: