1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 08:15:17 +03:00

Cosmetics after pull #2828

This commit is contained in:
JivaroFAD 2015-10-21 13:48:15 +02:00
parent 580dc6d2de
commit 1668507114
2 changed files with 3 additions and 3 deletions

View file

@ -1101,7 +1101,7 @@ void evalMixes(uint8_t tick10ms)
} }
} }
#if (defined(CPU2560) && defined(DEBUG) && !defined(VOICE)) #if defined(CPU2560) && defined(DEBUG) && !defined(VOICE)
PORTH &= ~0x40; // PORTH:6 HIGH->LOW signals end of mixer interrupt PORTH &= ~0x40; // PORTH:6 HIGH->LOW signals end of mixer interrupt
#endif #endif
} }

View file

@ -218,9 +218,9 @@ void lcdRefresh()
else { else {
y_addr = y; y_addr = y;
} }
lcdSendCtl( 0x80 | y_addr ); //Set Vertical Address lcdSendCtl( 0x80 | y_addr ); //Set Vertical Address
_delay_us(49); _delay_us(49);
lcdSendCtl( 0x80 | x_addr ); //Set Horizontal Address lcdSendCtl( 0x80 | x_addr ); //Set Horizontal Address
_delay_us(49); _delay_us(49);
PORTC_LCD_CTRL |= (1<<OUT_C_LCD_A0); //HIGH RS and LOW RW will put the LCD to PORTC_LCD_CTRL |= (1<<OUT_C_LCD_A0); //HIGH RS and LOW RW will put the LCD to
PORTC_LCD_CTRL &= ~(1<<OUT_C_LCD_RnW); //Write data register mode PORTC_LCD_CTRL &= ~(1<<OUT_C_LCD_RnW); //Write data register mode