projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the name of the method that return a BProject instance copy
[bertos.git]
/
bertos
/
hw
/
hw_lcd.h
diff --git
a/bertos/hw/hw_lcd.h
b/bertos/hw/hw_lcd.h
index 6f115018ccbbd74d968b342f8732a7292e7f7f4c..3a206a0f5df48e0ef69fdd3d3935b6357142c204 100644
(file)
--- a/
bertos/hw/hw_lcd.h
+++ b/
bertos/hw/hw_lcd.h
@@
-27,7
+27,7
@@
* the GNU General Public License.
*
* Copyright 2003, 2004, 2005, 2008 Develer S.r.l. (http://www.develer.com/)
* the GNU General Public License.
*
* Copyright 2003, 2004, 2005, 2008 Develer S.r.l. (http://www.develer.com/)
- * Copyright 2001 Bern
ardo
Innocenti <bernie@codewiz.org>
+ * Copyright 2001 Bern
ie
Innocenti <bernie@codewiz.org>
*
* -->
*
*
* -->
*
@@
-35,7
+35,7
@@
*
* \version $Id$
*
*
* \version $Id$
*
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
* \author Stefano Fedrigo <aleph@develer.com>
*
*/
* \author Stefano Fedrigo <aleph@develer.com>
*
*/
@@
-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
@@
-97,13
+96,13
@@
#define LCD_SET_E /* Implement me! */
#if CONFIG_LCD_4BIT
#define LCD_SET_E /* Implement me! */
#if CONFIG_LCD_4BIT
- #define LCD_WRITE_H(x) /* Implement me! */
- #define LCD_WRITE_L(x) /* Implement me! */
+ #define LCD_WRITE_H(x)
((void)x)
/* Implement me! */
+ #define LCD_WRITE_L(x)
((void)x)
/* Implement me! */
#define LCD_READ_H ( 0 /* Implement me! */ )
#define LCD_READ_L ( 0 /* Implement me! */ )
#else
#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! */
+ #define LCD_WRITE(x)
((void)x)
/* Implement me! */
+ #define LCD_READ
(0 /* Implement me! */ )
#endif
/*@}*/
#endif
/*@}*/
@@
-135,7
+134,7
@@
INLINE void lcd_bus_init(void)
{
INLINE void lcd_bus_init(void)
{
- cpuflags_t flags;
+ cpu
_
flags_t flags;
IRQ_SAVE_DISABLE(flags);
/*
IRQ_SAVE_DISABLE(flags);
/*