diff options
-rw-r--r-- | apps/wps-display.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index d3838f4311..ab62a91d9e 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -1127,6 +1127,7 @@ bool wps_refresh(struct mp3entry* id3, | |||
1127 | /* scroll line */ | 1127 | /* scroll line */ |
1128 | if ((refresh_mode & WPS_REFRESH_SCROLL) || | 1128 | if ((refresh_mode & WPS_REFRESH_SCROLL) || |
1129 | new_subline_refresh) { | 1129 | new_subline_refresh) { |
1130 | #ifdef HAVE_LCD_BITMAP | ||
1130 | int strw,strh; | 1131 | int strw,strh; |
1131 | int ypos,xpos; | 1132 | int ypos,xpos; |
1132 | 1133 | ||
@@ -1148,6 +1149,10 @@ bool wps_refresh(struct mp3entry* id3, | |||
1148 | lcd_putsxy(0, ypos, buf); | 1149 | lcd_putsxy(0, ypos, buf); |
1149 | } | 1150 | } |
1150 | } | 1151 | } |
1152 | #else | ||
1153 | lcd_puts_scroll(0, i, buf); | ||
1154 | update_line = true; | ||
1155 | #endif | ||
1151 | } | 1156 | } |
1152 | } | 1157 | } |
1153 | else if (flags & (WPS_REFRESH_DYNAMIC | WPS_REFRESH_STATIC)) | 1158 | else if (flags & (WPS_REFRESH_DYNAMIC | WPS_REFRESH_STATIC)) |
@@ -1156,6 +1161,7 @@ bool wps_refresh(struct mp3entry* id3, | |||
1156 | if ((refresh_mode & (WPS_REFRESH_DYNAMIC|WPS_REFRESH_STATIC)) || | 1161 | if ((refresh_mode & (WPS_REFRESH_DYNAMIC|WPS_REFRESH_STATIC)) || |
1157 | new_subline_refresh) | 1162 | new_subline_refresh) |
1158 | { | 1163 | { |
1164 | #ifdef HAVE_LCD_BITMAP | ||
1159 | int ypos,xpos; | 1165 | int ypos,xpos; |
1160 | int strw,strh; | 1166 | int strw,strh; |
1161 | 1167 | ||
@@ -1171,6 +1177,10 @@ bool wps_refresh(struct mp3entry* id3, | |||
1171 | } else { | 1177 | } else { |
1172 | lcd_putsxy(0, ypos, buf); | 1178 | lcd_putsxy(0, ypos, buf); |
1173 | } | 1179 | } |
1180 | #else | ||
1181 | update_line = true; | ||
1182 | lcd_puts(0, i, buf); | ||
1183 | #endif | ||
1174 | } | 1184 | } |
1175 | } | 1185 | } |
1176 | } | 1186 | } |