aboutsummaryrefslogtreecommitdiffstats
path: root/api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api.cpp')
-rw-r--r--api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.cpp b/api.cpp
index efb4bdb..acf0fba 100644
--- a/api.cpp
+++ b/api.cpp
@@ -27,7 +27,7 @@ void Api::display_power(bool mode) {
oledPower(&m_oled, mode);
}
-int Api::display_write_string(int iScrollX, int x, int y, char *szMsg, int iSize, int bInvert, int bRender) {
+int Api::display_write_string(int iScrollX, int x, int y, const char *szMsg, int iSize, int bInvert, int bRender) {
oledWriteString(&m_oled, iScrollX, x, y, szMsg, iSize, bInvert, 0);
m_writebb_needed = true;
}