projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add cfg for pwm module.
[bertos.git]
/
bertos
/
hw
/
hw_lcd.h
diff --git
a/bertos/hw/hw_lcd.h
b/bertos/hw/hw_lcd.h
index 87e00efb6350f0046f9f55783899182cd4f937d0..416b7e9942c194274534c7fda5c9df5dea4dece6 100644
(file)
--- a/
bertos/hw/hw_lcd.h
+++ b/
bertos/hw/hw_lcd.h
@@
-26,7
+26,7
@@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*
- * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2003, 2004, 2005
, 2008
Develer S.r.l. (http://www.develer.com/)
* Copyright 2001 Bernardo Innocenti <bernie@codewiz.org>
*
* -->
* Copyright 2001 Bernardo Innocenti <bernie@codewiz.org>
*
* -->
@@
-43,16
+43,15
@@
#ifndef HW_LCD_H
#define HW_LCD_H
#ifndef HW_LCD_H
#define HW_LCD_H
-#include <appconfig.h>
-
-#include <cfg/macros.h> /* BV() */
+#include "cfg/cfg_lcd.h" /* CONFIG_LCD_4BIT */
+#include <cfg/macros.h> /* BV() */
#include <cfg/debug.h>
#include <cpu/attr.h>
#include <cpu/irq.h>
#include <cpu/types.h>
#include <cfg/debug.h>
#include <cpu/attr.h>
#include <cpu/irq.h>
#include <cpu/types.h>
-#warning TODO:
This is
example implementation, you must implement it!
+#warning TODO:
This is an
example implementation, you must implement it!
/**
* \name LCD I/O pins/ports
/**
* \name LCD I/O pins/ports
@@
-99,8
+98,8
@@
#if CONFIG_LCD_4BIT
#define LCD_WRITE_H(x) /* Implement me! */
#define LCD_WRITE_L(x) /* Implement me! */
#if CONFIG_LCD_4BIT
#define LCD_WRITE_H(x) /* Implement me! */
#define LCD_WRITE_L(x) /* Implement me! */
- #define LCD_READ_H
/* Implement me! */
- #define LCD_READ_L
/* Implement me! */
+ #define LCD_READ_H
( 0 /* Implement me! */ )
+ #define LCD_READ_L
( 0 /* Implement me! */ )
#else
#define LCD_WRITE(x) /* Implement me! */
#define LCD_READ /* Implement me! */
#else
#define LCD_WRITE(x) /* Implement me! */
#define LCD_READ /* Implement me! */