projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Decrese value to 8bit limit.
[bertos.git]
/
bertos
/
hw
/
hw_lcd.h
diff --git
a/bertos/hw/hw_lcd.h
b/bertos/hw/hw_lcd.h
index 6f115018ccbbd74d968b342f8732a7292e7f7f4c..9ce56347afa20e622e580aa24edc87e6584aa8fd 100644
(file)
--- a/
bertos/hw/hw_lcd.h
+++ b/
bertos/hw/hw_lcd.h
@@
-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
/*@}*/