Skip to content

Commit

Permalink
fix: give Dbus a bit more time to catch up if the adapter has been re…
Browse files Browse the repository at this point in the history
…covered (#7)
  • Loading branch information
bdraco committed Aug 20, 2022
1 parent 6cd76ae commit 216ef1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bluetooth_auto_recovery/recover.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
POWER_OFF_TIME = 2
POWER_ON_TIME = 3
MAX_RESET_TIME = 10
DBUS_REGISTER_TIME = 0.5
DBUS_REGISTER_TIME = 1.0


def rfkill_list_bluetooth(hci: int) -> tuple[bool | None, bool | None]:
Expand Down

0 comments on commit 216ef1f

Please sign in to comment.