From 4428f5265d450be971bf0ff771bf3fe4c82a0542 Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 12 May 2010 10:41:20 +0000 Subject: [PATCH] Add hw led module. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3655 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_proc.h | 1 - bertos/hw/hw_led.h | 48 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 bertos/hw/hw_led.h 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 */ -- 2.25.1