From 38b08060afdf06e4e057c8b089acdb63624294fd Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Wed, 29 Jul 2009 12:57:42 +0000 Subject: [PATCH] Onda VX7x7: fix error when compiling with USB_BOOT defined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22080 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/r61509.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/export/r61509.h b/firmware/export/r61509.h index f61b620084..5d45c4ebcd 100644 --- a/firmware/export/r61509.h +++ b/firmware/export/r61509.h @@ -121,6 +121,11 @@ #define DISP_CTRL1_DTE (1 << 4) #define DISP_CTRL1_D(n) (n & 3) +#define EXT_DISP_CTRL1_ENC(n) ((n & 7) << 12) +#define EXT_DISP_CTRL1_RM(n) ((n & 1) << 8) +#define EXT_DISP_CTRL1_DM(n) ((n & 3) << 4) +#define EXT_DISP_CTRL1_RIM(n) (n & 3) + #define PWR_CTRL1_SAP(n) ((n & 3) << 13) #define PWR_CTRL1_SAPE (1 << 12) #define PWR_CTRL1_BT(n) ((n & 7) << 8)