mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-17 00:52:38 -05:00
HM-60x: Implement power off.
Change-Id: Ia3ae38bba09996e1d1e6043f340dbbc3a2ad68b5
This commit is contained in:
parent
7b28711f6c
commit
978e506f1b
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