diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/splitedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index 142590d9e8..9317419c23 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c | |||
@@ -271,7 +271,7 @@ static void update_icons(void) | |||
271 | 271 | ||
272 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) | 272 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) |
273 | /* The scale icon */ | 273 | /* The scale icon */ |
274 | rb->lcd_mono_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs()], | 274 | rb->lcd_mono_bitmap(SCALE_BMP[rb->peak_meter_get_use_dbfs() ? 1 : 0], |
275 | 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, | 275 | 2 *LCD_WIDTH/3 + LCD_WIDTH/3 / 2 - BMPWIDTH/2, LCD_HEIGHT - BMPHEIGHT, |
276 | BMPWIDTH, BMPHEIGHT); | 276 | BMPWIDTH, BMPHEIGHT); |
277 | #else | 277 | #else |
@@ -1134,7 +1134,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split, | |||
1134 | 1134 | ||
1135 | case SPLITEDIT_SCALE: | 1135 | case SPLITEDIT_SCALE: |
1136 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) | 1136 | #if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) |
1137 | rb->peak_meter_set_use_dbfs(rb->peak_meter_get_use_dbfs() +1); | 1137 | rb->peak_meter_set_use_dbfs(!rb->peak_meter_get_use_dbfs()); |
1138 | #endif | 1138 | #endif |
1139 | splitedit_invalidate_osci(); | 1139 | splitedit_invalidate_osci(); |
1140 | update_icons(); | 1140 | update_icons(); |