diff --git a/src/winrtble/ble/watcher.rs b/src/winrtble/ble/watcher.rs index fb9126a2..3edb0b44 100644 --- a/src/winrtble/ble/watcher.rs +++ b/src/winrtble/ble/watcher.rs @@ -51,7 +51,7 @@ impl BLEWatcher { self.watcher .SetScanningMode(BluetoothLEScanningMode::Active) .unwrap(); - self.watcher.SetAllowExtendedAdvertisements(true)?; + let _ = self.watcher.SetAllowExtendedAdvertisements(true); let handler: TypedEventHandler< BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementReceivedEventArgs,