Ondio has no LED (no RLOD possible ;-)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5057 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jörg Hohensohn 2004-09-10 12:11:28 +00:00
parent cde9844748
commit 9bb648800b
4 changed files with 16 additions and 14 deletions

View file

@ -22,6 +22,8 @@
#include "led.h"
#include "system.h"
#ifndef HAVE_NO_LED
static bool xor;
static bool current;
@ -51,3 +53,4 @@ void invert_led(bool on)
led(current);
}
#endif // #ifndef HAVE_NO_LED

View file

@ -10,9 +10,6 @@
/* Define this if you have a MAS3587F */
#define HAVE_MAS3587F
/* Define this if you have a FM Recorder key system */
#define HAVE_FMADC 1 /* don't know yet */
/* Define this if you have a LiIon battery */
/* #define HAVE_LIION */
@ -47,10 +44,7 @@
#define HAVE_FMRADIO 1
/* How to detect USB */
#define USB_FMRECORDERSTYLE 1 /* don't know yet */
/* Define this if the platform has (chargeable) batteries */
#define HAVE_BATTERIES 0
#define USB_FMRECORDERSTYLE 1 /* like FM, on AN1 */
/* The start address index for ROM builds */
#define ROM_START 0x12010 /* don't know yet */
@ -61,3 +55,6 @@
/* Define this for different I2C pinout */
#define HAVE_ONDIO_I2C
/* Define this for no LED available */
#define HAVE_NO_LED

View file

@ -10,9 +10,6 @@
/* Define this if you have a MAS3587F */
#define HAVE_MAS3587F
/* Define this if you have a FM Recorder key system */
#define HAVE_FMADC 1 /* don't know yet */
/* Define this if you have a LiIon battery */
/* #define HAVE_LIION */
@ -47,10 +44,7 @@
#define HAVE_FMRADIO 0
/* How to detect USB */
#define USB_FMRECORDERSTYLE 1 /* don't know yet */
/* Define this if the platform has (chargeable) batteries */
#define HAVE_BATTERIES 0
#define USB_FMRECORDERSTYLE 1 /* like FM, on AN1 */
/* The start address index for ROM builds */
#define ROM_START 0x12010 /* don't know yet */
@ -61,3 +55,6 @@
/* Define this for different I2C pinout */
#define HAVE_ONDIO_I2C
/* Define this for no LED available */
#define HAVE_NO_LED

View file

@ -22,7 +22,12 @@
#include <stdbool.h>
#ifdef HAVE_NO_LED /* dummies if no LED available */
#define led(on)
#define invert_led(on)
#else /* normal hardware */
extern void led( bool on );
extern void invert_led( bool on );
#endif
#endif