Merge remote-tracking branch 'upstream/main' into mdev
This commit is contained in:
@@ -296,6 +296,7 @@ class MPU6050Driver : public Usermod {
|
|||||||
StaticJsonDocument<800> doc; //measured 528 // WLEDMM added some margin (was 600)
|
StaticJsonDocument<800> doc; //measured 528 // WLEDMM added some margin (was 600)
|
||||||
|
|
||||||
JsonObject imu_meas = doc.createNestedObject("IMU");
|
JsonObject imu_meas = doc.createNestedObject("IMU");
|
||||||
|
//JsonObject imu_meas = user.createNestedObject("IMU");
|
||||||
#ifdef WLED_DEBUG
|
#ifdef WLED_DEBUG
|
||||||
JsonArray quat_json = imu_meas.createNestedArray("Quat");
|
JsonArray quat_json = imu_meas.createNestedArray("Quat");
|
||||||
quat_json.add(qat.w);
|
quat_json.add(qat.w);
|
||||||
|
|||||||
@@ -30,7 +30,11 @@
|
|||||||
#ifndef WLED_DISABLE_MQTT
|
#ifndef WLED_DISABLE_MQTT
|
||||||
#define WLED_ENABLE_MQTT // saves 12kb
|
#define WLED_ENABLE_MQTT // saves 12kb
|
||||||
#endif
|
#endif
|
||||||
#define WLED_ENABLE_ADALIGHT // saves 500b only (uses GPIO3 (RX) for serial)
|
#ifndef WLED_DISABLE_ADALIGHT // can be used to disable reading commands from serial RX pin (see issue #3128).
|
||||||
|
#define WLED_ENABLE_ADALIGHT // disable saves 5Kb (uses GPIO3 (RX) for serial). Related serial protocols: Adalight/TPM2, Improv, Continuous Serial Streaming
|
||||||
|
#else
|
||||||
|
#undef WLED_ENABLE_ADALIGHT // disable has priority over enable
|
||||||
|
#endif
|
||||||
//#define WLED_ENABLE_DMX // uses 3.5kb (use LEDPIN other than 2)
|
//#define WLED_ENABLE_DMX // uses 3.5kb (use LEDPIN other than 2)
|
||||||
//#define WLED_ENABLE_JSONLIVE // peek LED output via /json/live (WS binary peek is always enabled)
|
//#define WLED_ENABLE_JSONLIVE // peek LED output via /json/live (WS binary peek is always enabled)
|
||||||
#ifndef WLED_DISABLE_LOXONE
|
#ifndef WLED_DISABLE_LOXONE
|
||||||
|
|||||||
Reference in New Issue
Block a user