summaryrefslogtreecommitdiffstats
path: root/firmware/export/power.h
diff options
context:
space:
mode:
authorAnton Oleynikov <len0x@rockbox.org>2005-11-19 19:23:44 +0000
committerAnton Oleynikov <len0x@rockbox.org>2005-11-19 19:23:44 +0000
commitc94557e0b9415fdfe31154b75d320bf2ebd39168 (patch)
tree336234e1f3f3b09edcd047c19d5b1d4dccf54654 /firmware/export/power.h
parenta51a5b711db09848ca9c569d2975ff8217a17261 (diff)
downloadrockbox-c94557e0b9415fdfe31154b75d320bf2ebd39168.tar.gz
rockbox-c94557e0b9415fdfe31154b75d320bf2ebd39168.tar.bz2
rockbox-c94557e0b9415fdfe31154b75d320bf2ebd39168.zip
refactored radio status code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7999 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/power.h')
-rw-r--r--firmware/export/power.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/export/power.h b/firmware/export/power.h
index f0c4c302ea..bf645522ef 100644
--- a/firmware/export/power.h
+++ b/firmware/export/power.h
@@ -35,12 +35,8 @@ void spdif_power_enable(bool on);
#endif
#ifdef CONFIG_TUNER
-/* status values */
-#define FMRADIO_OFF 0 /* switched off */
-#define FMRADIO_POWERED 1 /* left powered, but idle */
-#define FMRADIO_PLAYING 2 /* actively in use */
-extern void radio_set_status(int status);
-extern int radio_get_status(void);
+extern bool radio_power(bool status);
+extern bool radio_powered(void);
#endif
#endif