Merge upstream/dev (80 commits) [upstream-sync]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-12 09:22:19 +01:00
commit 8d0b0dd164
140 files changed
+3573 -853

No files matched your search

+6 -3
View File
@@ -12,12 +12,14 @@
#include "NullDisplayDriver.h"
#endif
class AirohaGpsDriver;
class T1000SensorManager: public SensorManager {
bool gps_active = false;
LocationProvider * _nmea;
AirohaGpsDriver* _gps_driver;
// Duty-cycle state, mirroring EnvironmentSensorManager: `gps_duty` is the
// MODE, `gps_active` stays the truth about the receiver's power right now.
// MODE, the provider's isGpsOn() stays the truth about the receiver's power.
// This board has its own manager, so the state machine cannot simply be
// inherited -- see gpsDutyLoop() for the one T1000-specific difference.
bool gps_duty = false;
@@ -28,7 +30,8 @@ class T1000SensorManager: public SensorManager {
void stop_gps();
void gpsDutyLoop();
public:
T1000SensorManager(LocationProvider &nmea): _nmea(&nmea) { }
T1000SensorManager(LocationProvider &nmea, AirohaGpsDriver& gps_driver)
: _nmea(&nmea), _gps_driver(&gps_driver) { }
bool begin() override;
bool querySensors(uint8_t requester_permissions, CayenneLPP& telemetry) override;
void loop() override;