1
0
Fork 0
forked from len0rd/rockbox

make int_setting step & unit int16_t

since int_setting is the largest struct in the union of settings
saving 32 bytes adds up over every setting

frees ~200 bytes

Change-Id: Id4722262e40db3021c740e138fe7352be10e2c70
This commit is contained in:
William Wilgus 2022-11-13 21:32:59 -05:00
parent b7603adc64
commit 0661784469
5 changed files with 38 additions and 23 deletions

View file

@ -69,10 +69,11 @@ struct filename_setting {
struct int_setting {
void (*option_callback)(int);
int unit;
int16_t unit;
int16_t step;
int min;
int max;
int step;
const char* (*formatter)(char*, size_t, int, const char*);
int32_t (*get_talk_id)(int, int);
};