Fixed frequency of I2C to work with servo controller

This commit is contained in:
Niklas Jensen
2025-12-02 15:29:05 +01:00
parent 2c2c300d60
commit 8da09d4959
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -70,6 +70,7 @@ void Peripherals::updatePins() {
if (state().sda != -1 && state().scl != -1) {
Wire.begin(state().sda, state().scl, state().frequency);
ESP_LOGI("Peripherals", "Starting Wire with SDA=%d, SCL=%d, FREQ=%d", state().sda, state().scl, state().frequency);
i2c_active = true;
}
}