gps: once command
This commit is contained in:
1 parent
539b55b772
commit
93d165dd8c
4 files changed
+64
No files matched your search
@@ -86,6 +86,7 @@ public:
|
||||
virtual bool hasHardwareEnableState() const { return false; }
|
||||
virtual bool isHardwareEnabled() const { return true; }
|
||||
virtual bool isGpsOn() const { return _gpsOn; }
|
||||
virtual bool startOnce() { return false; }
|
||||
virtual void setGpsOn(bool on) {
|
||||
_gpsOn = on;
|
||||
if (on) {
|
||||
|
||||
Reference in new issue
Block a user