diff options
Diffstat (limited to 'demos/AVR-ATmega128-GCC/lcd.c')
-rw-r--r-- | demos/AVR-ATmega128-GCC/lcd.c | 2 |
1 files changed, 0 insertions, 2 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();
|