[Taranis] Display of shutdown bitmap instead of the message "SHUTDOWN"

in the popup
This commit is contained in:
bsongis
2015-07-14 22:12:24 +02:00
parent 7d9cd8c869
commit f51a313708
5 changed files with 27 additions and 15 deletions
+2
View File
@@ -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) \
+11
View File
@@ -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)