Repository navigation
set_mode_verified now confirms a mode only when the board really reports it.
- The cloud stamps the history to the second, and after a command the board can leave two telemetries in the same second, one with the new mode and one with the old. A mode is confirmed only when every telemetry with the newest timestamp agrees, and again after a short settle read; otherwise the command is resent.
- Only telemetry newer than the one seen before the command counts, so a history that already shows the requested mode no longer confirms a lost command.
- Calls for the same board are serialized, so the retries of an older call never land after a newer command.