diff options
Diffstat (limited to 'examples/binary_sensor.rs')
| -rw-r--r-- | examples/binary_sensor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/binary_sensor.rs b/examples/binary_sensor.rs index c0afa4a..7363a6c 100644 --- a/examples/binary_sensor.rs +++ b/examples/binary_sensor.rs | |||
| @@ -34,7 +34,7 @@ async fn main_task(spawner: Spawner) { | |||
| 34 | 34 | ||
| 35 | spawner.must_spawn(binary_sensor_class(sensor)); | 35 | spawner.must_spawn(binary_sensor_class(sensor)); |
| 36 | 36 | ||
| 37 | device.run(&mut stream).await; | 37 | device.run(&mut stream).await.unwrap(); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | #[embassy_executor::task] | 40 | #[embassy_executor::task] |
