Skip to content

Commit

Permalink
update base cargo resolve version
Browse files Browse the repository at this point in the history
  • Loading branch information
simonft committed Jan 20, 2024
1 parent a6fe161 commit 5bf3223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
workspace = { members = [ "meateatrs","meatnet", "meatweb"] }
workspace = { members = [ "meateatrs","meatnet", "meatweb"], resolver = "2"}

4 changes: 2 additions & 2 deletions meatweb/src/bluetooth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub fn process_bluetooth_event(
RequestMessage::SyncThermometerList(_) => {}
RequestMessage::ProbeStatusMessage(m) => {
if m.status.mode == Mode::Normal {
set_temperature(ConnectionState::Connected(CurrentState {
set_temperature.set(ConnectionState::Connected(CurrentState {
core_temperature: *m.status.get_core_temperature(),
surface_temperature: *m.status.get_surface_temperature(),
ambient_temperature: *m.status.get_ambient_temperature(),
Expand Down Expand Up @@ -172,7 +172,7 @@ pub async fn get_service(

disconnected_func.forget();

set_temperature(ConnectionState::Connecting);
set_temperature.set(ConnectionState::Connecting);

let gatt = device.gatt().unwrap();

Expand Down

0 comments on commit 5bf3223

Please sign in to comment.