1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 10:23:19 +02:00

Terse pin error messages

This commit is contained in:
Mitch Bradley
2021-06-03 08:43:47 -10:00
parent eb744db714
commit a09825c888

View File

@@ -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.stackTrace.c_str());
pin_error("Setting up pin failed. Details: %s\r\n", ex.what().c_str());
(void)ex; // Get rid of compiler warning
return Pin(pinImplementation);