mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
添加电源管理支持
USB HID 继电器支持 GPIO 添加初始文件
This commit is contained in:
@@ -140,6 +140,8 @@ class _GpioOutput: # pylint: disable=too-many-instance-attributes
|
||||
|
||||
self.__region = aiotools.AioExclusiveRegion(GpioChannelIsBusyError, notifier)
|
||||
|
||||
self.gettext=Languages().gettext
|
||||
|
||||
def is_const(self) -> bool:
|
||||
return (not self.__switch and not self.__pulse_delay)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user