fix NotificationsService::sendMSG() when DISPLAY_DEVICE enabled. Missing .c_str() (#998)

This commit is contained in:
Marcel Hoyer 2024-02-07 01:26:21 +01:00 committed by GitHub
parent 3474edcd03
commit ec7c422f7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -191,7 +191,7 @@ bool NotificationsService::sendMSG(const char* title, const char* messagetxt) {
websocket_terminal_server.pushMSG(msg.c_str()); websocket_terminal_server.pushMSG(msg.c_str());
#endif // HTTP_FEATURE || WS_DATA_FEATURE #endif // HTTP_FEATURE || WS_DATA_FEATURE
#ifdef DISPLAY_DEVICE #ifdef DISPLAY_DEVICE
esp3d_display.setStatus(message); esp3d_display.setStatus(message.c_str());
#endif // DISPLAY_DEVICE #endif // DISPLAY_DEVICE
} }
switch (_notificationType) { switch (_notificationType) {