diff --git a/Grbl_Esp32/src/Pin.cpp b/Grbl_Esp32/src/Pin.cpp index ab85a524..111cb437 100644 --- a/Grbl_Esp32/src/Pin.cpp +++ b/Grbl_Esp32/src/Pin.cpp @@ -148,7 +148,7 @@ Pin Pin::create(const StringRange& str) { return Pin(pinImplementation); } catch (const AssertionFailed& ex) { // We shouldn't get here under normal circumstances. - pin_error("Setting up pin failed. Details: %s\r\n", ex.what().c_str()); + pin_error("Setting up pin failed. Details: %s\r\n", ex.what()); (void)ex; // Get rid of compiler warning return Pin(pinImplementation);