Skip to content

Commit c2a23ce

Browse files
committed
use c_str()
1 parent a39b4c0 commit c2a23ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Wippersnapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ void Wippersnapper::errorWriteHang(String error) {
868868
// Print error
869869
WS_DEBUG_PRINTLN(error);
870870
#ifdef USE_TINYUSB
871-
_fileSystem->writeErrorToBootOut("errorName");
871+
_fileSystem->writeErrorToBootOut(error.c_str());
872872
#endif
873873
// Signal and hang forever
874874
while (1) {

0 commit comments

Comments
 (0)