diff options
author | David Crocker <dcrocker@eschertech.com> | 2017-08-25 19:45:08 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2017-08-25 19:45:08 +0300 |
commit | 7af6d152ee288470db33c80c9a10f19dfc808217 (patch) | |
tree | fbbffed7f223d6e4516a1ef6c6e84682c319682c /src/Platform.cpp | |
parent | c4d2c65030d86c451512204a84c4d8f345c06c40 (diff) |
Bug fix (still 1.19+2)
Fixes issue with M291 (thanks to kitsuneaerin for reporting it)
Diffstat (limited to 'src/Platform.cpp')
-rw-r--r-- | src/Platform.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Platform.cpp b/src/Platform.cpp index d62169aa..4159e983 100644 --- a/src/Platform.cpp +++ b/src/Platform.cpp @@ -3038,7 +3038,7 @@ void Platform::MessageF(MessageType type, const char *fmt, ...) // sParam = 1 As for 0 but display a Close button as well // sParam = 2 Display the message box with an OK button, wait for acknowledgement (waiting is set up by the caller) // sParam = 3 As for 2 but also display a Cancel button -void Platform::SendAlert(MessageType mt, const char *message, const char *title, int sParam, float tParam, bool zParam) +void Platform::SendAlert(MessageType mt, const char *message, const char *title, int sParam, float tParam, AxesBitmap controls) { switch (mt) { @@ -3046,7 +3046,7 @@ void Platform::SendAlert(MessageType mt, const char *message, const char *title, case AUX_MESSAGE: case GENERIC_MESSAGE: // Make the RepRap class cache this message until it's picked up by the HTTP clients and/or PanelDue - reprap.SetAlert(message, title, sParam, tParam, zParam); + reprap.SetAlert(message, title, sParam, tParam, controls); break; default: |