summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/osd.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2018-03-02 21:53:55 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2018-06-12 10:31:15 +0200
commitfbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch)
treee4bf533e945a03887620361ad110b3612321d67d /apps/plugins/lib/osd.c
parent0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff)
downloadrockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz
rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola. Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
Diffstat (limited to 'apps/plugins/lib/osd.c')
-rw-r--r--apps/plugins/lib/osd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/lib/osd.c b/apps/plugins/lib/osd.c
index e6fc39178a..d2e0fe3e50 100644
--- a/apps/plugins/lib/osd.c
+++ b/apps/plugins/lib/osd.c
@@ -115,6 +115,9 @@ static struct osd grey_osd;
115#elif LCD_DEPTH == 24 115#elif LCD_DEPTH == 24
116# define _OSD_WIDTH2BYTES(w) ((w)*3) 116# define _OSD_WIDTH2BYTES(w) ((w)*3)
117# define _OSD_BYTES2WIDTH(b) ((b)/3) 117# define _OSD_BYTES2WIDTH(b) ((b)/3)
118#elif LCD_DEPTH == 32
119# define _OSD_WIDTH2BYTES(w) ((w)*4)
120# define _OSD_BYTES2WIDTH(b) ((b)/4)
118#else /* other LCD depth */ 121#else /* other LCD depth */
119# error Unknown LCD depth; please define macros 122# error Unknown LCD depth; please define macros
120#endif /* LCD_DEPTH */ 123#endif /* LCD_DEPTH */