forked from len0rd/rockbox
rk27generic: Implement power_off()
Change-Id: I6e7685c83c080cbeeff06c588971901e522e4f85
This commit is contained in:
parent
f30043a0db
commit
e2d6f9290d
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@
|
|||
|
||||
void power_off(void)
|
||||
{
|
||||
|
||||
GPIO_PCCON &= ~(1<<0);
|
||||
while(1);
|
||||
}
|
||||
|
||||
void power_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue