[MEGA2560] KS108+ Voice+Splash "far" (#3534)

+little option (not defined) to reduce encoder resolution
This commit is contained in:
Ingwie
2016-05-26 06:33:09 +02:00
committed by Bertrand Songis
parent 74adc1c7e6
commit 116802c946
6 changed files with 53 additions and 29 deletions
+4
View File
@@ -251,6 +251,10 @@ void lcdInit();
void lcdRefresh();
#if defined(LCD_KS108)
void lcdRefreshSide();
#endif
#if defined(LCD_ST7920)
uint8_t lcdRefresh_ST7920(uint8_t full);
#define IS_LCD_REFRESH_ALLOWED() (0==lcdstate)
+1 -1
View File
@@ -52,7 +52,7 @@ void drawSplash()
{
lcdClear();
#if defined(PCBMEGA2560) && !defined(SIMU)
lcd_imgfar(0, 0, pgm_get_far_address(splash_lbm), 0, 0); // use progmem "far" for splash working with all other options enabled
lcd_imgfar(0, 0, (GET_FAR_ADDRESS(splashdata)+4), 0, 0); // use progmem "far" for splash working with all other options enabled
#else
lcd_img(0, 0, splash_lbm, 0, 0);
#endif