aboutsummaryrefslogtreecommitdiffstats
path: root/oled/ss_oled.c
diff options
context:
space:
mode:
Diffstat (limited to 'oled/ss_oled.c')
-rw-r--r--oled/ss_oled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/oled/ss_oled.c b/oled/ss_oled.c
index 3375bde..ff40451 100644
--- a/oled/ss_oled.c
+++ b/oled/ss_oled.c
@@ -1460,7 +1460,7 @@ void oledSetTextWrap(SSOLED *pOLED, int bWrap)
// Draw a string of normal (8x8), small (6x8) or large (16x32) characters
// At the given col+row
//
-int oledWriteString(SSOLED *pOLED, int iScroll, int x, int y, char *szMsg, int iSize, int bInvert, int bRender)
+int oledWriteString(SSOLED *pOLED, int iScroll, int x, int y, const char *szMsg, int iSize, int bInvert, int bRender)
{
int i, iFontOff, iLen, iFontSkip;
unsigned char c, *s, ucTemp[40];