firmware: controllers: tidy #endif comments
This commit is contained in:
parent
6b9b65543c
commit
8eabbdf248
|
@ -19,24 +19,24 @@ extern int maxTriggerReentrant;
|
||||||
|
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE
|
||||||
extern uint32_t maxPrecisionCallbackDuration;
|
extern uint32_t maxPrecisionCallbackDuration;
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif // EFI_PROD_CODE
|
||||||
|
|
||||||
extern uint32_t maxSchedulingPrecisionLoss;
|
extern uint32_t maxSchedulingPrecisionLoss;
|
||||||
|
|
||||||
void resetMaxValues() {
|
void resetMaxValues() {
|
||||||
#if (EFI_PROD_CODE || EFI_SIMULATOR) && EFI_SHAFT_POSITION_INPUT
|
#if (EFI_PROD_CODE || EFI_SIMULATOR) && EFI_SHAFT_POSITION_INPUT
|
||||||
maxEventCallbackDuration = triggerMaxDuration = 0;
|
maxEventCallbackDuration = triggerMaxDuration = 0;
|
||||||
#endif /* EFI_PROD_CODE || EFI_SIMULATOR */
|
#endif // EFI_PROD_CODE || EFI_SIMULATOR
|
||||||
|
|
||||||
maxSchedulingPrecisionLoss = 0;
|
maxSchedulingPrecisionLoss = 0;
|
||||||
|
|
||||||
#if EFI_CLOCK_LOCKS
|
#if EFI_CLOCK_LOCKS
|
||||||
maxLockedDuration = 0;
|
maxLockedDuration = 0;
|
||||||
#endif /* EFI_CLOCK_LOCKS */
|
#endif // EFI_CLOCK_LOCKS
|
||||||
|
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE
|
||||||
maxPrecisionCallbackDuration = 0;
|
maxPrecisionCallbackDuration = 0;
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif // EFI_PROD_CODE
|
||||||
}
|
}
|
||||||
|
|
||||||
void printRuntimeStats(void) {
|
void printRuntimeStats(void) {
|
||||||
|
@ -44,7 +44,7 @@ void printRuntimeStats(void) {
|
||||||
|
|
||||||
#if EFI_CLOCK_LOCKS
|
#if EFI_CLOCK_LOCKS
|
||||||
efiPrintf("maxLockedDuration=%d / maxTriggerReentrant=%d", maxLockedDuration, maxTriggerReentrant);
|
efiPrintf("maxLockedDuration=%d / maxTriggerReentrant=%d", maxLockedDuration, maxTriggerReentrant);
|
||||||
#endif /* EFI_CLOCK_LOCKS */
|
#endif // EFI_CLOCK_LOCKS
|
||||||
|
|
||||||
efiPrintf("maxEventCallbackDuration=%d", maxEventCallbackDuration);
|
efiPrintf("maxEventCallbackDuration=%d", maxEventCallbackDuration);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue