save space by telling the compiler that lcdRefresh is actually lcdDisplay

This commit is contained in:
Stefan `Sec` Zehl 2011-08-03 19:08:44 +02:00
parent 2799821daf
commit 99ce5e362d
2 changed files with 1 additions and 3 deletions

View File

@ -216,6 +216,7 @@ void lcdDisplay(void) {
lcd_deselect(); lcd_deselect();
} }
void lcdRefresh() __attribute__ ((weak, alias ("lcdDisplay")));
inline void lcdInvert(void) { inline void lcdInvert(void) {
GLOBAL(lcdinvert)=!GLOBAL(lcdinvert); GLOBAL(lcdinvert)=!GLOBAL(lcdinvert);

View File

@ -53,9 +53,6 @@ void lcdClear(){
lcdFill(0); lcdFill(0);
}; };
void lcdRefresh(){
lcdDisplay();
};
void lcdMoveCrsr(signed int dx,signed int dy){ void lcdMoveCrsr(signed int dx,signed int dy){
x+=dx; x+=dx;