address PR comments and add some typing

This commit is contained in:
Gilles Boccon-Gibod
2023-12-11 17:52:04 -08:00
parent b083cc99ad
commit 98ed772e8a
3 changed files with 64 additions and 34 deletions

View File

@@ -41,7 +41,7 @@ from bumble.hci import (
HCI_Reset_Command,
HCI_Read_Local_Version_Information_Command,
)
from bumble.drivers import common
# -----------------------------------------------------------------------------
# Logging
@@ -285,7 +285,7 @@ class Firmware:
)
class Driver:
class Driver(common.Driver):
@dataclass
class DriverInfo:
rom: int