diff options
author | Vitja Makarov <vitja.makarov@gmail.com> | 2008-12-21 19:16:54 +0000 |
---|---|---|
committer | Vitja Makarov <vitja.makarov@gmail.com> | 2008-12-21 19:16:54 +0000 |
commit | 19413fc8060fb80eae668ddfdf3c4fa7e751e5b4 (patch) | |
tree | af22ea8e93f0b752fe43f012cbbe57656dcf14ba /firmware/target/arm/tcc77x/system-tcc77x.c | |
parent | f6789a7d7316c284e33a2ebbdf86d147ce703993 (diff) | |
download | rockbox-19413fc8060fb80eae668ddfdf3c4fa7e751e5b4.tar.gz rockbox-19413fc8060fb80eae668ddfdf3c4fa7e751e5b4.zip |
iaudio7: add battery voltage monitoring
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19549 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc77x/system-tcc77x.c')
-rw-r--r-- | firmware/target/arm/tcc77x/system-tcc77x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/tcc77x/system-tcc77x.c b/firmware/target/arm/tcc77x/system-tcc77x.c index 38004851bd..0896026b55 100644 --- a/firmware/target/arm/tcc77x/system-tcc77x.c +++ b/firmware/target/arm/tcc77x/system-tcc77x.c | |||
@@ -99,12 +99,12 @@ static void gpio_init(void) | |||
99 | GPIOD_FUNC = 0; | 99 | GPIOD_FUNC = 0; |
100 | GPIOE_FUNC = 0; | 100 | GPIOE_FUNC = 0; |
101 | GPIOA = 0x30; | 101 | GPIOA = 0x30; |
102 | GPIOB = 0x80000; | 102 | GPIOB = 0x00c00; |
103 | GPIOC = 0; | 103 | GPIOC = 0; |
104 | GPIOD = 0x180; | 104 | GPIOD = 0x180; |
105 | GPIOE = 0; | 105 | GPIOE = 0x80; |
106 | GPIOA_DIR = 0x84b0; | 106 | GPIOA_DIR = 0x84b0; |
107 | GPIOB_DIR = 0x80800; | 107 | GPIOB_DIR = 0x80c00; |
108 | GPIOC_DIR = 0x2000000; | 108 | GPIOC_DIR = 0x2000000; |
109 | GPIOD_DIR = 0x3e3; | 109 | GPIOD_DIR = 0x3e3; |
110 | GPIOE_DIR = 0x88; | 110 | GPIOE_DIR = 0x88; |