From: asterix Date: Wed, 12 May 2010 10:41:20 +0000 (+0000) Subject: Add hw led module. X-Git-Tag: 2.5.0~262 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=4428f5265d450be971bf0ff771bf3fe4c82a0542;p=bertos.git Add hw led module. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3655 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_proc.h b/bertos/cfg/cfg_proc.h index 4a1deb29..3c9439fb 100644 --- a/bertos/cfg/cfg_proc.h +++ b/bertos/cfg/cfg_proc.h @@ -32,7 +32,6 @@ * * \brief Kernel configuration parameters * - * \version $Id$ * \author Bernie Innocenti */ diff --git a/bertos/hw/hw_led.h b/bertos/hw/hw_led.h new file mode 100644 index 00000000..96cbc1ef --- /dev/null +++ b/bertos/hw/hw_led.h @@ -0,0 +1,48 @@ +/** + * \file + * + * + * \brief Led on/off macros. + * + * \author Daniele Basiel + */ + +#ifndef HW_LED_H +#define HW_LED_H + +#warning FIXME: This is an example implementation, you must implement it + +#define LED_ON() do { /* implement me */} while(0) +#define LED_OFF() do { /* implement me */} while(0) + +#define LED_INIT() do { /* implement me */} while(0) + +#endif /* HW_LED_H */