AP_OSD: reduce width of the vspeed item

This commit is contained in:
Alexander Malishev 2018-07-04 02:53:48 +04:00 committed by Andrew Tridgell
parent f23a40d967
commit e9600d9a08
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ void AP_OSD_Screen::draw_vspeed(uint8_t x, uint8_t y)
} else {
sym = SYM_DOWN_DOWN;
}
backend->write(x, y, false, "%c%3.0f%c", sym, vspd, SYM_MS);
backend->write(x, y, false, "%c%2.0f%c", sym, vspd, SYM_MS);
}
#define DRAW_SETTING(n) if (n.enabled) draw_ ## n(n.xpos, n.ypos)