🖨️ Adds printing of feature flags

This commit is contained in:
Rune Harlyk
2025-03-23 16:27:56 +01:00
parent ad2d28c9ba
commit f864616303
6 changed files with 64 additions and 12 deletions
+9 -2
View File
@@ -28,8 +28,8 @@
#endif
// ESP32 IMU on by default
#ifndef USE_IMU
#define USE_IMU 1
#ifndef USE_MPU6050
#define USE_MPU6050 1
#endif
// ESP32 magnetometer on by default
@@ -52,8 +52,15 @@
#define USE_GPS 0
#endif
// ESP32 MDNS on by default
#ifndef USE_MDNS
#define USE_MDNS 1
#endif
namespace feature_service {
void printFeatureConfiguration();
void features(JsonObject &root);
esp_err_t getFeatures(PsychicRequest *request);