mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-12 03:03:51 +08:00
Retain network tethering
This commit is contained in:
@@ -41,6 +41,10 @@ FrogPilotUIState::FrogPilotUIState(QObject *parent) : QObject(parent) {
|
||||
});
|
||||
|
||||
wifi = new WifiManager(this);
|
||||
|
||||
if (params.getInt("TetheringEnabled") == 1) {
|
||||
wifi->setTetheringEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
FrogPilotUIState *frogpilotUIState() {
|
||||
|
||||
Reference in New Issue
Block a user