what's the proper way to printf timeNowUs #6434

This commit is contained in:
rusEFI LLC 2024-04-29 15:49:41 -04:00
parent ed9ed11187
commit cd8c08f5f2
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ static const char *prevSparkName = nullptr;
static void fireSparkBySettingPinLow(IgnitionEvent *event, IgnitionOutputPin *output) {
#if SPARK_EXTREME_LOGGING
efiPrintf("spark goes low revolution=%d [%s] %d current=%d id=%d", getRevolutionCounter(), output->getName(), (int)getTimeNowUs(),
efiPrintf("spark goes low revolution=%d [%s] %d current=%d id=%d", getRevolutionCounter(), output->getName(), time2print(getTimeNowUs()),
output->currentLogicValue, event->sparkCounter);
#endif /* SPARK_EXTREME_LOGGING */