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
This commit is contained in:
parent
ad1660074f
commit
38b08060af
1 changed files with 5 additions and 0 deletions
|
@ -121,6 +121,11 @@
|
||||||
#define DISP_CTRL1_DTE (1 << 4)
|
#define DISP_CTRL1_DTE (1 << 4)
|
||||||
#define DISP_CTRL1_D(n) (n & 3)
|
#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_SAP(n) ((n & 3) << 13)
|
||||||
#define PWR_CTRL1_SAPE (1 << 12)
|
#define PWR_CTRL1_SAPE (1 << 12)
|
||||||
#define PWR_CTRL1_BT(n) ((n & 7) << 8)
|
#define PWR_CTRL1_BT(n) ((n & 7) << 8)
|
||||||
|
|
Loading…
Reference in a new issue