mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Merge pull request #7476 from mikeller/add_stick_overlay_symbols
Changed OSD stick overlay to use custom symbols.
This commit is contained in:
commit
bbedb60fe2
3 changed files with 25 additions and 36 deletions
|
@ -811,7 +811,7 @@ TEST(OsdTest, TestElementCoreTemperature)
|
|||
osdRefresh(simulationTime);
|
||||
|
||||
// then
|
||||
displayPortTestBufferSubstring(1, 8, " 0C");
|
||||
displayPortTestBufferSubstring(1, 8, " 0%c", SYM_C);
|
||||
|
||||
// given
|
||||
simulationCoreTemperature = 33;
|
||||
|
@ -821,7 +821,7 @@ TEST(OsdTest, TestElementCoreTemperature)
|
|||
osdRefresh(simulationTime);
|
||||
|
||||
// then
|
||||
displayPortTestBufferSubstring(1, 8, " 33C");
|
||||
displayPortTestBufferSubstring(1, 8, " 33%c", SYM_C);
|
||||
|
||||
// given
|
||||
osdConfigMutable()->units = OSD_UNIT_IMPERIAL;
|
||||
|
@ -831,7 +831,7 @@ TEST(OsdTest, TestElementCoreTemperature)
|
|||
osdRefresh(simulationTime);
|
||||
|
||||
// then
|
||||
displayPortTestBufferSubstring(1, 8, " 91F");
|
||||
displayPortTestBufferSubstring(1, 8, " 91%c", SYM_F);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue