Skip to content

Commit

Permalink
fix mpd_status compile
Browse files Browse the repository at this point in the history
  • Loading branch information
vroland committed Sep 4, 2023
1 parent 011dd0c commit cdcee82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mpd_status/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ void epd_task() {
EpdRect upper_update = epd_full_screen();
upper_update.height = album_cover_y + album_height;
EpdRect lower_update = epd_full_screen();
lower_update.height = EPD_HEIGHT - upper_update.height;
lower_update.height = epd_height() - upper_update.height;
lower_update.y = upper_update.height;
show_status(
playback_info->status, playback_info->current_song, album_cover_y + album_height
Expand Down

0 comments on commit cdcee82

Please sign in to comment.