fix upload
# Conflicts: # rust/src/webserver/webserver.rs
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user