xiao_s3: use environment sensor manager and add sensor role

This commit is contained in:
Florent
2025-11-16 16:55:16 +01:00
parent 8dbb0f5f23
commit 3dd6dc02ea
3 changed files with 27 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
#include <helpers/ESP32Board.h>
#include <helpers/radiolib/CustomSX1262Wrapper.h>
#include <helpers/AutoDiscoverRTCClock.h>
#include <helpers/SensorManager.h>
#include <helpers/sensors/EnvironmentSensorManager.h>
#ifdef DISPLAY_CLASS
#include <helpers/ui/SSD1306Display.h>
#include <helpers/ui/MomentaryButton.h>
@@ -16,7 +16,7 @@
extern XiaoS3WIOBoard board;
extern WRAPPER_CLASS radio_driver;
extern AutoDiscoverRTCClock rtc_clock;
extern SensorManager sensors;
extern EnvironmentSensorManager sensors;
#ifdef DISPLAY_CLASS
extern DISPLAY_CLASS display;