Test new EdgeTX splashes and remove vendor specific branding

Resolves #154
This commit is contained in:
Raphael Coeffic
2021-06-07 11:52:50 +02:00
parent 9b3cb9f72f
commit afb297b0f6
9 changed files with 8 additions and 45 deletions
+4 -18
View File
@@ -35,27 +35,13 @@ void drawSplash()
#if MENUS_LOCK == 1
if (readonly == false) {
lcdDrawFilledRect((LCD_W-(sizeof(TR_UNLOCKED)-1)*FW)/2 - 9, 50, (sizeof(TR_UNLOCKED)-1)*FW+16, 11, SOLID, ERASE|ROUND);
lcdDrawText((LCD_W-(sizeof(TR_UNLOCKED)-1)*FW)/2 , 53, STR_UNLOCKED);
lcdDrawFilledRect((LCD_W - (sizeof(TR_UNLOCKED) - 1) * FW) / 2 - 9, 50,
(sizeof(TR_UNLOCKED) - 1) * FW + 16, 11, SOLID,
ERASE | ROUND);
lcdDrawText((LCD_W - (sizeof(TR_UNLOCKED) - 1) * FW) / 2, 53, STR_UNLOCKED);
}
#endif
lcdRefresh();
}
#endif
#if defined(FRSKY_RELEASE)
const unsigned char splashdata2[] = {
'S','F','S',0,
#include "bitmaps/128x64/splash_frsky.lbm"
'S','F','E',0 };
const unsigned char * const splash2_lbm = splashdata2+4;
void drawSecondSplash()
{
lcdClear();
lcdDraw1bitBitmap(0, 0, splash2_lbm, 0, 0);
lcdRefresh();
}
#endif