fix upload

# Conflicts:
#	rust/src/webserver/webserver.rs
This commit is contained in:
2024-08-12 21:17:16 +02:00
parent ca26f090fa
commit 7415e74643
4 changed files with 23 additions and 22 deletions

View File

@@ -1078,7 +1078,7 @@ impl CreatePlantHal<'_> for PlantHal {
let config = I2cConfig::new()
.scl_enable_pullup(true)
.sda_enable_pullup(true)
.baudrate(1_u32.kHz().into())
.baudrate(400_u32.kHz().into())
.timeout(APBTickType::from(Duration::from_millis(100)));
let scl = peripherals.pins.gpio19.downgrade();
let sda = peripherals.pins.gpio20.downgrade();