Skip to content

Commit

Permalink
firmware: reduce temperature sensor frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Jan 14, 2025
1 parent 7b8c36a commit cbb8293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/src/temperature_sensors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub(super) async fn task(r: crate::OnewireResources) {
let onboard_temp_sensor =
Ds18b20::new::<()>(Address(env!("BOARD_TEMP_SENSOR_ADDRESS").parse().unwrap())).unwrap();

let mut ticker = Ticker::every(Duration::from_secs(5));
let mut ticker = Ticker::every(Duration::from_secs(30));
let publisher = TEMPERATURE_READING.publisher().unwrap();

loop {
Expand Down

0 comments on commit cbb8293

Please sign in to comment.