mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Remove comments
This commit is contained in:
parent
7f03d8a565
commit
c49f8efbaa
1 changed files with 1 additions and 13 deletions
|
@ -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] = ':';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue