1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Changed OSD stick overlay to use custom symbols.

This commit is contained in:
mikeller 2019-01-24 21:14:14 +13:00
parent fe83d052da
commit 95eb87b678
3 changed files with 25 additions and 36 deletions

View file

@ -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);
}
/*