aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR-ATmega128-GCC
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR-ATmega128-GCC')
-rw-r--r--demos/AVR-ATmega128-GCC/lcd.c2
-rw-r--r--demos/AVR-ATmega128-GCC/mcuconf.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/demos/AVR-ATmega128-GCC/lcd.c b/demos/AVR-ATmega128-GCC/lcd.c
index d0415b83f..3a18e370b 100644
--- a/demos/AVR-ATmega128-GCC/lcd.c
+++ b/demos/AVR-ATmega128-GCC/lcd.c
@@ -74,10 +74,8 @@ void lcdCmd(uint8_t cmd) {
* Writes a char on the LCD at the current position.
*/
void lcdPutc(char c) {
- uint8_t b;
wait_not_busy();
- b = c | 0x0F;
PORTC = (PORTC | PORTC_44780_DATA_MASK | PORTC_44780_RS_MASK) &
(c | 0x0F);
e_pulse();
diff --git a/demos/AVR-ATmega128-GCC/mcuconf.h b/demos/AVR-ATmega128-GCC/mcuconf.h
index d3c05d25b..146f6a210 100644
--- a/demos/AVR-ATmega128-GCC/mcuconf.h
+++ b/demos/AVR-ATmega128-GCC/mcuconf.h
@@ -41,8 +41,8 @@
/*
* SERIAL driver system settings.
*/
-#define USE_AVR_USART0 FALSE
-#define USE_AVR_USART1 TRUE
+#define AVR_SERIAL_USE_USART0 FALSE
+#define AVR_SERIAL_USE_USART1 TRUE
/*
* SPI driver system settings.