@@ -232,11 +232,11 @@ class BleGamepadConfiguration
232
232
int16_t _simulationMax;
233
233
int16_t _motionMin;
234
234
int16_t _motionMax;
235
- char *_modelNumber;
236
- char *_softwareRevision;
237
- char *_serialNumber;
238
- char *_firmwareRevision;
239
- char *_hardwareRevision;
235
+ const char *_modelNumber;
236
+ const char *_softwareRevision;
237
+ const char *_serialNumber;
238
+ const char *_firmwareRevision;
239
+ const char *_hardwareRevision;
240
240
bool _enableOutputReport;
241
241
bool _enableNordicUARTService;
242
242
uint16_t _outputReportLength;
@@ -291,11 +291,11 @@ class BleGamepadConfiguration
291
291
int16_t getSimulationMax ();
292
292
int16_t getMotionMin ();
293
293
int16_t getMotionMax ();
294
- char *getModelNumber ();
295
- char *getSoftwareRevision ();
296
- char *getSerialNumber ();
297
- char *getFirmwareRevision ();
298
- char *getHardwareRevision ();
294
+ const char *getModelNumber ();
295
+ const char *getSoftwareRevision ();
296
+ const char *getSerialNumber ();
297
+ const char *getFirmwareRevision ();
298
+ const char *getHardwareRevision ();
299
299
bool getEnableOutputReport ();
300
300
bool getEnableNordicUARTService ();
301
301
uint16_t getOutputReportLength ();
0 commit comments