From 2e8559e72ec01ba3162072605cc3737db101bede Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 19 Jun 2022 11:03:26 -0400 Subject: [PATCH] symmetrical logging --- firmware/hw_layer/pin_repository.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firmware/hw_layer/pin_repository.cpp b/firmware/hw_layer/pin_repository.cpp index 517c52c758..40be41559c 100644 --- a/firmware/hw_layer/pin_repository.cpp +++ b/firmware/hw_layer/pin_repository.cpp @@ -54,7 +54,7 @@ int brainPin_to_index(brain_pin_e brainPin) { bool brain_pin_markUsed(brain_pin_e brainPin, const char *msg) { #if ! EFI_BOOTLOADER - efiPrintf("%s on %s", msg, hwPortname(brainPin)); + efiPrintf("pin_markUsed: %s on %s", msg, hwPortname(brainPin)); #endif int index = brainPin_to_index(brainPin); @@ -81,6 +81,9 @@ bool brain_pin_markUsed(brain_pin_e brainPin, const char *msg) { */ void brain_pin_markUnused(brain_pin_e brainPin) { +#if ! EFI_BOOTLOADER + efiPrintf("pin_markUnused: %s", hwPortname(brainPin)); +#endif int index = brainPin_to_index(brainPin); if (index < 0) return;