1
0
Fork 0
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:
Michael Keller 2019-01-28 20:17:10 +13:00 committed by GitHub
commit bbedb60fe2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);
}
/*