From 658026e6267277b27d297c481728f74d160a8481 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 10:31:31 -0400 Subject: [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a --- apps/plugins/searchengine/searchengine.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'apps/plugins/searchengine/searchengine.h') diff --git a/apps/plugins/searchengine/searchengine.h b/apps/plugins/searchengine/searchengine.h index 090adb7051..00bedd816b 100644 --- a/apps/plugins/searchengine/searchengine.h +++ b/apps/plugins/searchengine/searchengine.h @@ -25,20 +25,12 @@ #include extern int w, h, y; -#ifdef HAVE_LCD_BITMAP #define PUTS(str) do { \ rb->lcd_putsxy(1, y, str); \ rb->lcd_getstringsize(str, &w, &h); \ y += h + 1; \ } while (0); \ rb->lcd_update() -#else -#define PUTS(str) do { \ - rb->lcd_puts(0, y, str); \ - y = (y + 1) % 2; \ -} while (0); \ -rb->lcd_update() -#endif void *my_malloc(size_t size); void setmallocpos(void *pointer); -- cgit v1.2.3