Screen Dim passed a plain literal ('100%'/'50%'/...) to
voicePromptsAppendLanguageString(), which derives the prompt index from the
string's offset within the language table; a foreign pointer produced a garbage
index and crashed (only with voice on). Route the value through
voicePromptsAppendString() instead. Also move the 3-bit dim level's high bit off
legacy option bit 2 to bit 29 and clamp the level against the option arrays.
Bump version to 0.2.0.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
13 lines
308 B
C
13 lines
308 B
C
/*
|
|
* FreeTRX firmware version (semantic versioning: MAJOR.MINOR.PATCH).
|
|
*/
|
|
#ifndef _FREETRX_VERSION_H_
|
|
#define _FREETRX_VERSION_H_
|
|
|
|
#define FREETRX_VERSION_MAJOR 0
|
|
#define FREETRX_VERSION_MINOR 2
|
|
#define FREETRX_VERSION_PATCH 0
|
|
|
|
#define FREETRX_VERSION "0.2.0"
|
|
|
|
#endif // _FREETRX_VERSION_H_
|