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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user