mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 07:32:35 -05:00
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)
|
void power_off(void)
|
||||||
{
|
{
|
||||||
|
GPIO_PCCON &= ~(1<<0);
|
||||||
|
while(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void power_init(void)
|
void power_init(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue