1
0
Fork 0
forked from len0rd/rockbox

HDD6330: fix the behavior of the lcd during shutdown (fading out), disable poweroff while charging for now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30520 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Szymon Dziok 2011-09-13 21:14:11 +00:00
parent 036c5fef46
commit dad541a391
2 changed files with 4 additions and 1 deletions

View file

@ -27,6 +27,7 @@
#include "power.h"
#include "logf.h"
#include "usb.h"
#include "backlight-target.h"
#include "synaptics-mep.h"
void power_init(void)
@ -110,6 +111,8 @@ bool ide_powered(void)
void power_off(void)
{
_backlight_off();
/* power off bit */
GPIOB_ENABLE |= 0x80;
GPIOB_OUTPUT_VAL &= ~0x80;