cli_gps: use sensormanger to toggle gps on/off to keep state coherent

This commit is contained in:
Florent committed 2025-10-05 20:31:25 +02:00
1 parent 062e355578
commit 3a5d92205e
4 files changed
+36 -15

No files matched your search

@@ -78,7 +78,7 @@ public :
}
}
bool isActive() override {
bool isEnabled() override {
// directly read the enable pin if present as gps can be
// activated/deactivated outside of here ...
if (_pin_en != -1) {