summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-ondiofm.h11
-rw-r--r--firmware/export/config-ondiosp.h11
-rw-r--r--firmware/export/led.h5
3 files changed, 13 insertions, 14 deletions
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index 33ede51aea..4bd291099f 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -10,9 +10,6 @@
10/* Define this if you have a MAS3587F */ 10/* Define this if you have a MAS3587F */
11#define HAVE_MAS3587F 11#define HAVE_MAS3587F
12 12
13/* Define this if you have a FM Recorder key system */
14#define HAVE_FMADC 1 /* don't know yet */
15
16/* Define this if you have a LiIon battery */ 13/* Define this if you have a LiIon battery */
17/* #define HAVE_LIION */ 14/* #define HAVE_LIION */
18 15
@@ -47,10 +44,7 @@
47#define HAVE_FMRADIO 1 44#define HAVE_FMRADIO 1
48 45
49/* How to detect USB */ 46/* How to detect USB */
50#define USB_FMRECORDERSTYLE 1 /* don't know yet */ 47#define USB_FMRECORDERSTYLE 1 /* like FM, on AN1 */
51
52/* Define this if the platform has (chargeable) batteries */
53#define HAVE_BATTERIES 0
54 48
55/* The start address index for ROM builds */ 49/* The start address index for ROM builds */
56#define ROM_START 0x12010 /* don't know yet */ 50#define ROM_START 0x12010 /* don't know yet */
@@ -61,3 +55,6 @@
61/* Define this for different I2C pinout */ 55/* Define this for different I2C pinout */
62#define HAVE_ONDIO_I2C 56#define HAVE_ONDIO_I2C
63 57
58/* Define this for no LED available */
59#define HAVE_NO_LED
60
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index 3e8116df9a..c8aaf56459 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -10,9 +10,6 @@
10/* Define this if you have a MAS3587F */ 10/* Define this if you have a MAS3587F */
11#define HAVE_MAS3587F 11#define HAVE_MAS3587F
12 12
13/* Define this if you have a FM Recorder key system */
14#define HAVE_FMADC 1 /* don't know yet */
15
16/* Define this if you have a LiIon battery */ 13/* Define this if you have a LiIon battery */
17/* #define HAVE_LIION */ 14/* #define HAVE_LIION */
18 15
@@ -47,10 +44,7 @@
47#define HAVE_FMRADIO 0 44#define HAVE_FMRADIO 0
48 45
49/* How to detect USB */ 46/* How to detect USB */
50#define USB_FMRECORDERSTYLE 1 /* don't know yet */ 47#define USB_FMRECORDERSTYLE 1 /* like FM, on AN1 */
51
52/* Define this if the platform has (chargeable) batteries */
53#define HAVE_BATTERIES 0
54 48
55/* The start address index for ROM builds */ 49/* The start address index for ROM builds */
56#define ROM_START 0x12010 /* don't know yet */ 50#define ROM_START 0x12010 /* don't know yet */
@@ -61,3 +55,6 @@
61/* Define this for different I2C pinout */ 55/* Define this for different I2C pinout */
62#define HAVE_ONDIO_I2C 56#define HAVE_ONDIO_I2C
63 57
58/* Define this for no LED available */
59#define HAVE_NO_LED
60
diff --git a/firmware/export/led.h b/firmware/export/led.h
index cc035b9345..492ead11b2 100644
--- a/firmware/export/led.h
+++ b/firmware/export/led.h
@@ -22,7 +22,12 @@
22 22
23#include <stdbool.h> 23#include <stdbool.h>
24 24
25#ifdef HAVE_NO_LED /* dummies if no LED available */
26#define led(on)
27#define invert_led(on)
28#else /* normal hardware */
25extern void led( bool on ); 29extern void led( bool on );
26extern void invert_led( bool on ); 30extern void invert_led( bool on );
31#endif
27 32
28#endif 33#endif