Compilation fix
This commit is contained in:
@@ -250,7 +250,7 @@ void lcdRefresh(void);
|
||||
void lcdDrawSolidFilledRectDMA(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t color);
|
||||
void lcdDrawBitmapDMA(uint16_t x, uint16_t y, uint16_t w, uint16_t h, const uint8_t * bitmap);
|
||||
void lcdStoreBackupBuffer(void);
|
||||
bool lcdRestoreBackupBuffer(void);
|
||||
int lcdRestoreBackupBuffer(void);
|
||||
|
||||
// Backlight driver
|
||||
#define setBacklight(xx)
|
||||
|
||||
@@ -519,11 +519,11 @@ void lcdStoreBackupBuffer()
|
||||
DMAcopy(src, dest, DISPLAY_BUFFER_SIZE);
|
||||
}
|
||||
|
||||
bool lcdRestoreBackupBuffer()
|
||||
int lcdRestoreBackupBuffer()
|
||||
{
|
||||
uint16_t * dest = (uint16_t *)CurrentFrameBuffer, * src = (uint16_t *)LCD_BACKUP_FRAME_BUFFER;
|
||||
DMAcopy(src, dest, DISPLAY_BUFFER_SIZE);
|
||||
return true;
|
||||
return 1;
|
||||
}
|
||||
|
||||
void lcdRefresh()
|
||||
|
||||
Reference in New Issue
Block a user