mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Simplified the OSD blink frequency calculation.
This commit is contained in:
parent
932d6dc153
commit
a702ee1a5b
5 changed files with 23 additions and 24 deletions
|
@ -673,7 +673,7 @@ TEST_F(OsdTest, TestAlarms)
|
|||
printf("%d\n", i);
|
||||
displayPortTestPrint();
|
||||
#endif
|
||||
if (i % 2 == 0) {
|
||||
if (i % 2 == 1) {
|
||||
displayPortTestBufferSubstring(8, 1, "%c12", SYM_RSSI);
|
||||
displayPortTestBufferSubstring(12, 1, "%c13.5%c", SYM_MAIN_BATT, SYM_VOLT);
|
||||
displayPortTestBufferSubstring(1, 1, "%c02:", SYM_FLY_M); // only test the minute part of the timer
|
||||
|
@ -1044,6 +1044,7 @@ TEST_F(OsdTest, TestElementWarningsBattery)
|
|||
// when
|
||||
displayClearScreen(&testDisplayPort);
|
||||
osdRefresh(simulationTime);
|
||||
osdRefresh(simulationTime);
|
||||
|
||||
// then
|
||||
displayPortTestBufferSubstring(9, 10, " LAND NOW ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue