ops that's not what I mean

This commit is contained in:
rusefi 2019-11-12 19:58:14 -05:00
parent 73003f8b64
commit 12746ca91d
1 changed files with 3 additions and 4 deletions

View File

@ -176,10 +176,6 @@ static efitimems_t testSchedulingStart;
static void timerValidationCallback(void *arg) {
(void)arg;
if (hasFirmwareError()) {
return;
}
testSchedulingHappened = true;
efitimems_t actualTimeSinceScheduling = (currentTimeMillis() - testSchedulingStart);
@ -193,6 +189,9 @@ static void timerValidationCallback(void *arg) {
* helps to make sure our GPT hardware settings are somewhat right
*/
static void validateHardwareTimer() {
if (hasFirmwareError()) {
return;
}
testSchedulingStart = currentTimeMillis();
// to save RAM let's use 'watchDogBuddy' here once before we enable watchdog