Removed SEND DISPLAY

Removed_REF_marker
erikkaashoek 5 years ago
parent 857be0862a
commit 0dfa4e9cec

@ -91,7 +91,7 @@ enum {
};
#endif
#define NUMINPUT_LEN 10
#define NUMINPUT_LEN 12
static uint8_t ui_mode = UI_NORMAL;
static uint8_t keypad_mode;
static char kp_buf[NUMINPUT_LEN+1];
@ -1653,7 +1653,7 @@ draw_numeric_input(const char *buf)
ili9341_set_foreground(LCD_INPUT_TEXT_COLOR);
ili9341_set_background(LCD_INPUT_BG_COLOR);
for (i = 0, x = 64; i < 10 && buf[i]; i++, xsim<<=1) {
for (i = 0, x = 64; i < NUMINPUT_LEN && buf[i]; i++, xsim<<=1) {
int c = buf[i];
if (c == '.')
c = KP_PERIOD;

@ -2588,9 +2588,9 @@ static const menuitem_t menu_display[] = {
#endif
{ MT_ADV_CALLBACK,4, "WATER\nFALL", menu_waterfall_acb},
{ MT_SUBMENU, 0, "SWEEP\nSETTINGS", menu_sweep_speed},
#ifdef __REMOTE_DESKTOP__
{ MT_ADV_CALLBACK,0, "SEND\nDISPLAY", menu_send_display_acb},
#endif
//#ifdef __REMOTE_DESKTOP__
// { MT_ADV_CALLBACK,0, "SEND\nDISPLAY", menu_send_display_acb},
//#endif
// { MT_KEYPAD, KM_SWEEP_TIME, "SWEEP\nTIME", NULL},
{ MT_CANCEL, 0, S_LARROW" BACK", NULL },

Loading…
Cancel
Save

Powered by TurnKey Linux.