Compilation fixes

This commit is contained in:
Bertrand Songis
2019-03-21 20:03:25 +01:00
parent 39d99abc30
commit 07840007de
10 changed files with 20 additions and 31 deletions
+7 -1
View File
@@ -139,7 +139,7 @@ void runPopupWarning(event_t event)
{
warningResult = false;
drawMessageBox();
drawMessageBox(warningText);
if (warningInfoText) {
lcdDrawSizedText(WARNING_LINE_X, WARNING_LINE_Y+FH, warningInfoText, warningInfoLength, WARNING_INFO_FLAGS);
@@ -174,6 +174,12 @@ void runPopupWarning(event_t event)
}
}
void showMessageBox(const char * str)
{
drawMessageBox(str);
lcdRefresh();
}
void showAlertBox(const char * title, const char * text, const char * action , uint8_t sound)
{
drawAlertBox(title, text, action);