From c497498b7cbfdae884f5a0b528e4309b9dcf0ef2 Mon Sep 17 00:00:00 2001 From: Hans Christian Olaussen <41271048+klutvott123@users.noreply.github.com> Date: Tue, 10 Dec 2019 15:11:08 +0100 Subject: [PATCH] Fix no telemetry blink for high res LCDs Seems like BLINK on it's own doesn't work for the high resolution screens. Changed it back to what it used to be. Works in the simulator. Extended yMaxLimit for 320x480. --- src/SCRIPTS/BF/radios.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SCRIPTS/BF/radios.lua b/src/SCRIPTS/BF/radios.lua index e571a853..6853e9c6 100644 --- a/src/SCRIPTS/BF/radios.lua +++ b/src/SCRIPTS/BF/radios.lua @@ -34,7 +34,7 @@ local supportedRadios = resolution = lcdResolution.high, MenuBox = { x=120, y=100, w=200, x_offset=68, h_line=20, h_offset=6 }, SaveBox = { x=120, y=100, w=180, x_offset=12, h=60, h_offset=12 }, - NoTelem = { 192, LCD_H - 28, "No Telemetry", BLINK }, + NoTelem = { 192, LCD_H - 28, "No Telemetry", TEXT_COLOR + INVERS + BLINK }, textSize = 0, yMinLimit = 35, yMaxLimit = 235, @@ -45,10 +45,10 @@ local supportedRadios = resolution = lcdResolution.high, MenuBox = { x= (LCD_W -200)/2, y=LCD_H/2, w=200, x_offset=68, h_line=20, h_offset=6 }, SaveBox = { x= (LCD_W -200)/2, y=LCD_H/2, w=180, x_offset=12, h=60, h_offset=12 }, - NoTelem = { LCD_W/2 - 50, LCD_H - 28, "No Telemetry", BLINK }, + NoTelem = { LCD_W/2 - 50, LCD_H - 28, "No Telemetry", TEXT_COLOR + INVERS + BLINK }, textSize = 0, yMinLimit = 35, - yMaxLimit = 235, + yMaxLimit = 435, }, }