shithub: choc

Download patch

ref: 0ec616b898ffa715d0ca27cfad6ffd4510bbb885
parent: fa22df1349a83102763a98470742db57b45ddc63
author: Turo Lamminen <[email protected]>
date: Tue Jan 22 14:12:59 EST 2019

setup: Make CalibrationLabel return value const

--- a/src/setup/txt_joyaxis.c
+++ b/src/setup/txt_joyaxis.c
@@ -32,7 +32,7 @@
 
 #define JOYSTICK_AXIS_WIDTH 20
 
-static char *CalibrationLabel(txt_joystick_axis_t *joystick_axis)
+static const char *CalibrationLabel(txt_joystick_axis_t *joystick_axis)
 {
     switch (joystick_axis->config_stage)
     {