mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Fixed display / editing of int16 in CMS.
This commit is contained in:
parent
42929b7e0e
commit
4b52c819e9
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ static int cmsDrawMenuEntry(displayPort_t *pDisplay, const OSD_Entry *p, uint8_t
|
|||
|
||||
case OME_INT16:
|
||||
if (IS_PRINTVALUE(*flags) && p->data) {
|
||||
OSD_UINT16_t *ptr = p->data;
|
||||
OSD_INT16_t *ptr = p->data;
|
||||
itoa(*ptr->val, buff, 10);
|
||||
cnt = cmsDrawMenuItemValue(pDisplay, buff, row, CMS_NUM_FIELD_LEN);
|
||||
CLR_PRINTVALUE(*flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue