summaryrefslogtreecommitdiff
path: root/apps/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/status.c')
-rw-r--r--apps/status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/status.c b/apps/status.c
index 8c4a7ef809..f144adebef 100644
--- a/apps/status.c
+++ b/apps/status.c
@@ -268,7 +268,7 @@ void status_draw(bool force_redraw)
268} 268}
269 269
270#ifdef HAVE_LCD_BITMAP 270#ifdef HAVE_LCD_BITMAP
271static void draw_buttonbar_btn(int num, char* caption) 271static void draw_buttonbar_btn(int num, const char* caption)
272{ 272{
273 int xpos, ypos, button_width, text_width; 273 int xpos, ypos, button_width, text_width;
274 int fw, fh; 274 int fw, fh;
@@ -294,7 +294,8 @@ static char stored_caption1[8];
294static char stored_caption2[8]; 294static char stored_caption2[8];
295static char stored_caption3[8]; 295static char stored_caption3[8];
296 296
297void buttonbar_set(char* caption1, char *caption2, char *caption3) 297void buttonbar_set(const char* caption1, const char *caption2,
298 const char *caption3)
298{ 299{
299 buttonbar_unset(); 300 buttonbar_unset();
300 if(caption1) 301 if(caption1)