From c49f8efbaad7f3153f70d1dc381d68d66ba6e9e2 Mon Sep 17 00:00:00 2001 From: Jonas Elvedal Hole Date: Wed, 7 Oct 2020 19:40:06 +0200 Subject: [PATCH] Remove comments --- src/main/io/osd.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/main/io/osd.c b/src/main/io/osd.c index 265c5d6544..6af3084b81 100755 --- a/src/main/io/osd.c +++ b/src/main/io/osd.c @@ -889,22 +889,10 @@ static void osdFormatThrottlePosition(char *buff, bool autoThr, textAttributes_t } /** - * Formats gvars prefixed by its number (1-indexed). If autoThr + * Formats gvars prefixed by its number (0-indexed). If autoThr **/ static void osdFormatGVar(char *buff, uint8_t index) { - /*buff[0] = SYM_BLANK; - buff[1] = SYM_THR; - int16_t thr = rxGetChannelValue(THROTTLE); - if (autoThr && navigationIsControllingThrottle()) { - buff[0] = SYM_AUTO_THR0; - buff[1] = SYM_AUTO_THR1; - thr = rcCommand[THROTTLE]; - if (isFixedWingAutoThrottleManuallyIncreased()) - TEXT_ATTRIBUTES_ADD_BLINK(*elemAttr); - } - */ - //tfp_sprintf(buff, "G%i:%li", index, gvGet(index)); buff[0] = 'G'; buff[1] = '0'+index; buff[2] = ':';