summaryrefslogtreecommitdiff
path: root/firmware/export/hwcompat.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-07-14 11:20:31 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-07-14 11:20:31 +0000
commit7d759f6b9ca96a4a64c71ac301eb59cb9702e74c (patch)
treefbaf5104716ccfed888c7d8506dbee15a881d4a2 /firmware/export/hwcompat.h
parentb51a20fb9b1cc57b813d1c0b90ad8c010b9eab84 (diff)
Do some planned radio interface cleanup since adding in the LV24020LP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/hwcompat.h')
-rw-r--r--firmware/export/hwcompat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/hwcompat.h b/firmware/export/hwcompat.h
index bffb76e3ef..bebca68a6c 100644
--- a/firmware/export/hwcompat.h
+++ b/firmware/export/hwcompat.h
@@ -46,4 +46,11 @@
bool is_new_player(void);
#endif
+#ifdef CONFIG_TUNER_MULTI
+static inline int tuner_detect_type(void)
+{
+ return (HW_MASK & TUNER_MODEL) ? TEA5767 : S1A0903X01;
+}
+#endif
+
#endif /* HWCOMPAT_H */