[Taranis] Display of shutdown bitmap instead of the message "SHUTDOWN"
in the popup
This commit is contained in:
@@ -213,6 +213,8 @@ void lcd_invert_line(int8_t line);
|
||||
#define lcd_status_line() lcd_invert_line(LCD_LINES-1)
|
||||
inline void lcd_square(coord_t x, coord_t y, coord_t w, LcdFlags att=0) { lcd_rect(x, y, w, w, SOLID, att); }
|
||||
|
||||
void displaySleepBitmap();
|
||||
|
||||
void lcdDrawTelemetryTopBar();
|
||||
|
||||
#define V_BAR(xx, yy, ll) \
|
||||
|
||||
@@ -36,6 +36,17 @@
|
||||
|
||||
#include "../../opentx.h"
|
||||
|
||||
const pm_uchar bmp_sleep[] PROGMEM = {
|
||||
#include "../../bitmaps/Taranis/sleep.lbm"
|
||||
};
|
||||
|
||||
void displaySleepBitmap()
|
||||
{
|
||||
lcd_clear();
|
||||
lcd_bmp(76, 2, bmp_sleep, 0, 60);
|
||||
lcdRefresh();
|
||||
}
|
||||
|
||||
void drawStick(coord_t centrex, int16_t xval, int16_t yval)
|
||||
{
|
||||
#define BOX_CENTERY (LCD_H-BOX_WIDTH/2-10)
|
||||
|
||||
Reference in New Issue
Block a user