DEBUGOUT improvements

This commit is contained in:
Ewoud
2023-02-24 19:03:52 +01:00
parent 88ba127910
commit f00558c5f4
3 changed files with 15 additions and 28 deletions

View File

@@ -450,7 +450,7 @@ bool PinManagerClass::allocatePin(byte gpio, bool output, PinOwner tag)
DEBUG_PRINT(F("PIN ALLOC: FAIL for owner "));
DebugPrintOwnerTag(tag);
DEBUG_PRINT(F(": GPIO ")); DEBUG_PRINT(gpio);
if (output) DEBUG_PRINTLN(F(" cannot be used for i/o on this MCU."));
if (output) {DEBUG_PRINTLN(F(" cannot be used for i/o on this MCU."));}
else DEBUG_PRINTLN(F(" cannot be used as input on this MCU."));
} else {
DEBUG_PRINT(F("PIN ALLOC: FAIL: GPIO ")); DEBUG_PRINT(gpio);