mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 13:45:10 -05:00
Properly shut down the UDA1380
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6209 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e7b993f1f6
commit
07218e5401
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,9 @@
|
||||||
#ifdef CONFIG_TUNER
|
#ifdef CONFIG_TUNER
|
||||||
#include "fmradio.h"
|
#include "fmradio.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef IRIVER_H100
|
||||||
|
#include "uda1380.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define DEBUG_FILE to create a csv (spreadsheet) with battery information
|
* Define DEBUG_FILE to create a csv (spreadsheet) with battery information
|
||||||
|
|
@ -887,6 +890,9 @@ void shutdown_hw(void)
|
||||||
sleep(HZ/10);
|
sleep(HZ/10);
|
||||||
|
|
||||||
mp3_shutdown();
|
mp3_shutdown();
|
||||||
|
#ifdef IRIVER_H100
|
||||||
|
uda1380_close();
|
||||||
|
#endif
|
||||||
#if CONFIG_KEYPAD == ONDIO_PAD
|
#if CONFIG_KEYPAD == ONDIO_PAD
|
||||||
backlight_off();
|
backlight_off();
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue