diff --git a/apps/bookmark.c b/apps/bookmark.c index 1352b2a708..aa5dce6bc9 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c @@ -680,7 +680,7 @@ static void display_bookmark(const char* bookmark, /* bookmark shuffle and repeat states*/ switch (repeat_mode) { -#if (AB_REPEAT_ENABLE == 1) +#ifdef AB_REPEAT_ENABLE case REPEAT_AB: statusbar_icon_play_mode(Icon_RepeatAB); break; diff --git a/apps/settings.h b/apps/settings.h index 3605e7e777..35eed906fb 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -143,7 +143,7 @@ enum REPEAT_ALL, REPEAT_ONE, REPEAT_SHUFFLE, -#if (AB_REPEAT_ENABLE == 1) +#ifdef AB_REPEAT_ENABLE REPEAT_AB, #endif NUM_REPEAT_MODES