1
0
Fork 0
forked from len0rd/rockbox

Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL

....Because INT and BOOL are already defined in mingw32.

Change-Id: I28ab8189c00002c8f68bc9d0c23d2ae78d9e33d0
This commit is contained in:
Solomon Peachy 2023-09-22 09:57:48 -04:00
parent cb3a6877fc
commit 8cc3266b2a
38 changed files with 115 additions and 115 deletions

View file

@ -503,19 +503,19 @@ static bool main_menu(void)
rb->set_option(
"Algorithm Pickiness (Lower -> more discriminating)",
&settings.yin_threshold,
INT, yin_threshold_text,
RB_INT, yin_threshold_text,
sizeof(yin_threshold_text) / sizeof(yin_threshold_text[0]),
NULL);
break;
case 5:
rb->set_option("Display Accidentals As",
&settings.use_sharps,
BOOL, accidental_text, 2, NULL);
RB_BOOL, accidental_text, 2, NULL);
break;
case 6:
rb->set_option("Key Transposition",
&settings.key_transposition,
INT, transpose_text, 12, NULL);
RB_INT, transpose_text, 12, NULL);
break;
case 7:
rb->set_bool("Display Frequency (Hz)",