Skip to content

Commit 6542aa5

Browse files
authored
Change timeout default value to float
1 parent ceb92a6 commit 6542aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_gps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ def __init__(
688688
*,
689689
address: int = _GPSI2C_DEFAULT_ADDRESS,
690690
debug: bool = False,
691-
timeout: float = 5,
691+
timeout: float = 5.0,
692692
) -> None:
693693
from adafruit_bus_device import ( # pylint: disable=import-outside-toplevel
694694
i2c_device,

0 commit comments

Comments
 (0)