diff options
Diffstat (limited to 'examples/temperature.rs')
| -rw-r--r-- | examples/temperature.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/temperature.rs b/examples/temperature.rs index 4cf0d42..d449cd4 100644 --- a/examples/temperature.rs +++ b/examples/temperature.rs | |||
| @@ -46,7 +46,7 @@ async fn main_task(spawner: Spawner) { | |||
| 46 | spawner.must_spawn(constant_temperature_task(constant_temperature_sensor)); | 46 | spawner.must_spawn(constant_temperature_task(constant_temperature_sensor)); |
| 47 | spawner.must_spawn(random_temperature_task(random_temperature_sensor)); | 47 | spawner.must_spawn(random_temperature_task(random_temperature_sensor)); |
| 48 | 48 | ||
| 49 | device.run(&mut stream).await; | 49 | device.run(&mut stream).await.unwrap(); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | #[embassy_executor::task] | 52 | #[embassy_executor::task] |
