mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
setup: add serial to request headers (#27237)
* setup: add dongle ID to request headers * rename openpilot * fix str * hardware: get_serial * set serial instead * fix typo * static * fixes old-commit-hash: 6fb5661abba34971e547941e0f6a6625bef3b75a
This commit is contained in:
@@ -16,6 +16,8 @@ public:
|
||||
static int get_voltage() { return 0; };
|
||||
static int get_current() { return 0; };
|
||||
|
||||
static std::string get_serial() { return "cccccc"; }
|
||||
|
||||
static void reboot() {}
|
||||
static void poweroff() {}
|
||||
static void set_brightness(int percent) {}
|
||||
|
||||
Reference in New Issue
Block a user