Retain tethering status between reboots
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "common/mat.h"
|
||||
#include "common/params.h"
|
||||
#include "common/timing.h"
|
||||
#include "selfdrive/ui/qt/network/wifi_manager.h"
|
||||
#include "system/hardware/hw.h"
|
||||
|
||||
const int UI_BORDER_SIZE = 30;
|
||||
@@ -206,6 +207,7 @@ typedef struct UIScene {
|
||||
bool road_name_ui;
|
||||
bool show_driver_camera;
|
||||
bool standstill;
|
||||
bool tethering_enabled;
|
||||
bool turn_signal_left;
|
||||
bool turn_signal_right;
|
||||
bool unlimited_road_ui_length;
|
||||
@@ -264,6 +266,8 @@ public:
|
||||
|
||||
QTransform car_space_transform;
|
||||
|
||||
WifiManager *wifi = nullptr;
|
||||
|
||||
signals:
|
||||
void uiUpdate(const UIState &s);
|
||||
void offroadTransition(bool offroad);
|
||||
|
||||
Reference in New Issue
Block a user