mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 19:49:00 +08:00
fix NotificationsService::sendMSG() when DISPLAY_DEVICE enabled. Missing .c_str() (#998)
This commit is contained in:
parent
3474edcd03
commit
ec7c422f7f
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user