mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
mcu hid: optional power detecting on the hid device
This commit is contained in:
@@ -162,6 +162,9 @@ class _SpiPhy(BasePhy): # pylint: disable=too-many-instance-attributes
|
||||
else:
|
||||
yield None
|
||||
|
||||
def __str__(self) -> str:
|
||||
return f"SPI(bus={self.__bus}, chip={self.__chip})"
|
||||
|
||||
|
||||
# =====
|
||||
class Plugin(BaseMcuHid):
|
||||
|
||||
Reference in New Issue
Block a user