1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00

Remove comments

This commit is contained in:
Jonas Elvedal Hole 2020-10-07 19:40:06 +02:00
parent 7f03d8a565
commit c49f8efbaa

View file

@ -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) 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[0] = 'G';
buff[1] = '0'+index; buff[1] = '0'+index;
buff[2] = ':'; buff[2] = ':';