[X7] Hardware menu navigation fix (last line) + some TODO removed
This commit is contained in:
@@ -20,11 +20,16 @@
|
||||
|
||||
#include "opentx.h"
|
||||
|
||||
void lcdDrawMMM(coord_t x, coord_t y, LcdFlags flags)
|
||||
{
|
||||
lcdDrawTextAtIndex(x, y, STR_MMMINV, 0, flags);
|
||||
}
|
||||
|
||||
#if defined(FLIGHT_MODES)
|
||||
void drawFlightMode(coord_t x, coord_t y, int8_t idx, LcdFlags att)
|
||||
{
|
||||
if (idx==0) {
|
||||
lcdDrawTextAtIndex(x, y, STR_MMMINV, 0, att); // TODO macro
|
||||
lcdDrawMMM(x, y, att);
|
||||
return;
|
||||
}
|
||||
// TODO this code was not included in Taranis! and used with abs(...) on Horus
|
||||
@@ -41,4 +46,3 @@ void drawFlightMode(coord_t x, coord_t y, int8_t idx, LcdFlags att)
|
||||
drawStringWithIndex(x, y, STR_FP, idx-1, att);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user