1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Prepare OSD for iterative updating

This commit is contained in:
Martin Budden 2018-01-08 17:12:58 +00:00
parent ec4ad45528
commit e6f5926131
4 changed files with 145 additions and 125 deletions

View file

@ -139,10 +139,10 @@ void doTestArm(bool testEmpty = true)
*/
bool isSomeStatEnabled(void) {
for (int i = 0; i < OSD_STAT_COUNT; i++) {
if (osdConfigMutable()->enabled_stats[i]) {
return true;
}
if (osdConfigMutable()->enabled_stats[i]) {
return true;
}
}
return false;
}
@ -544,7 +544,7 @@ TEST(OsdTest, TestElementRssi)
osdRefresh(simulationTime);
// then
displayPortTestBufferSubstring(8, 1, "%c0", SYM_RSSI);
displayPortTestBufferSubstring(8, 1, "%c 0", SYM_RSSI);
// when
rssi = 512;