From 8cc3266b2a172a51dc12d05e8e1a06485b895e48 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 22 Sep 2023 09:57:48 -0400 Subject: Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL ....Because INT and BOOL are already defined in mingw32. Change-Id: I28ab8189c00002c8f68bc9d0c23d2ae78d9e33d0 --- apps/plugins/pitch_detector.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugins/pitch_detector.c') diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index e9b1fb11b0..f7d1219445 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c @@ -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)", -- cgit v1.2.3