mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
Compilation fix
This commit is contained in:
parent
3f7b289ebe
commit
cbfdf9b9f5
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ void drawSleepBitmap()
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(PWR_BUTTON_DELAY)
|
||||||
const pm_uchar bmp_shutdown[] PROGMEM = {
|
const pm_uchar bmp_shutdown[] PROGMEM = {
|
||||||
#include "../../bitmaps/taranis/shutdown.lbm"
|
#include "../../bitmaps/taranis/shutdown.lbm"
|
||||||
};
|
};
|
||||||
|
@ -47,6 +48,7 @@ void drawShutdownBitmap(uint32_t index)
|
||||||
lcdDrawBitmap((LCD_W-SHUTDOWN_BITMAP_WIDTH)/2, (LCD_H-SHUTDOWN_BITMAP_HEIGHT)/2, bmp_shutdown, index * SHUTDOWN_BITMAP_WIDTH, SHUTDOWN_BITMAP_WIDTH);
|
lcdDrawBitmap((LCD_W-SHUTDOWN_BITMAP_WIDTH)/2, (LCD_H-SHUTDOWN_BITMAP_HEIGHT)/2, bmp_shutdown, index * SHUTDOWN_BITMAP_WIDTH, SHUTDOWN_BITMAP_WIDTH);
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void drawStick(coord_t centrex, int16_t xval, int16_t yval)
|
void drawStick(coord_t centrex, int16_t xval, int16_t yval)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue