Revert "Added protobufs for TS"

This reverts commit 37b9baf7c8d9bf33c3ac29063f8ee697b20ef497.
This commit is contained in:
Niklas Jensen
2025-12-28 22:25:46 +01:00
committed by nikguin04
parent 8e66a03c00
commit 8c418fd779
10 changed files with 24 additions and 112 deletions
@@ -14,9 +14,6 @@
#ifndef SCL_PIN
#define SCL_PIN SCL
#endif
// #define STR(x) #x
// #define XSTR(x) STR(x)
// #pragma message ("SDA PIN: " XSTR(SDA_PIN))
#ifndef I2C_FREQUENCY
#define I2C_FREQUENCY 1000000UL
#endif
@@ -45,9 +42,9 @@ class PeripheralsConfiguration {
}
static StateUpdateResult update(JsonVariant &root, PeripheralsConfiguration &settings) {
//settings.sda = root["sda"] | SDA_PIN;
//settings.scl = root["scl"] | SCL_PIN;
//settings.frequency = root["frequency"] | I2C_FREQUENCY;
settings.sda = root["sda"] | SDA_PIN;
settings.scl = root["scl"] | SCL_PIN;
settings.frequency = root["frequency"] | I2C_FREQUENCY;
return StateUpdateResult::CHANGED;
};
};