mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 09:06:11 +00:00
Add CLI command for rebooting the drone
This commit is contained in:
@@ -129,6 +129,11 @@ public:
|
||||
|
||||
HardwareSerial Serial, Serial2;
|
||||
|
||||
class EspClass {
|
||||
public:
|
||||
void restart() { Serial.println("Ignore reboot in simulation"); }
|
||||
} ESP;
|
||||
|
||||
void delay(uint32_t ms) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(ms));
|
||||
}
|
||||
|
Reference in New Issue
Block a user