Fix mavlink disconnection in pauses in cli commands

Implement pause function that proceeds processing mavlink.
Use temporal workaround for simulation, as micros function gives the same result on the same simulation step.
This commit is contained in:
Oleg Kalachev
2025-02-28 19:25:41 +03:00
parent 5bf2e06c5a
commit 3fdebf39d8
5 changed files with 34 additions and 12 deletions

View File

@@ -37,6 +37,7 @@ void sendMotors();
bool motorsActive();
void testMotor(uint8_t n);
void print(const char* format, ...);
void pause(float duration);
void doCommand(String str, bool echo);
void handleInput();
void calibrateRC();