summaryrefslogtreecommitdiff
path: root/apps/plugins/test_fps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_fps.c')
-rw-r--r--apps/plugins/test_fps.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index e8ceaed7a1..7c86fabdc0 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -192,7 +192,7 @@ static void time_main_yuv(void)
192 time_start = *rb->current_tick; 192 time_start = *rb->current_tick;
193 while((time_end = *rb->current_tick) - time_start < DURATION) 193 while((time_end = *rb->current_tick) - time_start < DURATION)
194 { 194 {
195 rb->lcd_yuv_blit(yuvbuf, 0, 0, YUV_WIDTH, 195 rb->lcd_blit_yuv(yuvbuf, 0, 0, YUV_WIDTH,
196 0, 0, YUV_WIDTH, YUV_HEIGHT); 196 0, 0, YUV_WIDTH, YUV_HEIGHT);
197 frame_count++; 197 frame_count++;
198 } 198 }
@@ -208,7 +208,7 @@ static void time_main_yuv(void)
208 time_start = *rb->current_tick; 208 time_start = *rb->current_tick;
209 while((time_end = *rb->current_tick) - time_start < DURATION) 209 while((time_end = *rb->current_tick) - time_start < DURATION)
210 { 210 {
211 rb->lcd_yuv_blit(yuvbuf, 0, 0, YUV_WIDTH, 211 rb->lcd_blit_yuv(yuvbuf, 0, 0, YUV_WIDTH,
212 part14_x, part14_y, part14_w, part14_h); 212 part14_x, part14_y, part14_w, part14_h);
213 frame_count++; 213 frame_count++;
214 } 214 }
@@ -260,7 +260,7 @@ static void time_remote_update(void)
260} 260}
261#endif 261#endif
262 262
263#if LCD_DEPTH < 4 263#if (LCD_DEPTH < 4) && !defined(IAUDIO_M3)
264 264
265GREY_INFO_STRUCT_IRAM 265GREY_INFO_STRUCT_IRAM
266static unsigned char greydata[LCD_HEIGHT][LCD_WIDTH]; 266static unsigned char greydata[LCD_HEIGHT][LCD_WIDTH];
@@ -357,7 +357,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
357 log_text("Main LCD YUV"); 357 log_text("Main LCD YUV");
358 time_main_yuv(); 358 time_main_yuv();
359#endif 359#endif
360#if LCD_DEPTH < 4 360#if (LCD_DEPTH < 4) && !defined(IAUDIO_M3)
361 log_text("Greyscale library"); 361 log_text("Greyscale library");
362 time_greyscale(); 362 time_greyscale();
363#endif 363#endif