save space by telling the compiler that lcdRefresh is actually lcdDisplay
This commit is contained in:
parent
2799821daf
commit
99ce5e362d
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue