mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-30 17:21:21 +00:00
chore(core): fix channel manager docs
[no changelog]
This commit is contained in:
parent
5ffe8a0cd4
commit
581e36cd2d
@ -11,7 +11,7 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
def create_new_channel(iface: WireInterface) -> Channel:
|
def create_new_channel(iface: WireInterface) -> Channel:
|
||||||
"""
|
"""
|
||||||
Creates a new channel for the interface `iface` with the buffer `buffer`.
|
Creates a new channel for the interface `iface`.
|
||||||
"""
|
"""
|
||||||
channel_cache = cache_thp.get_new_channel(interface_manager.encode_iface(iface))
|
channel_cache = cache_thp.get_new_channel(interface_manager.encode_iface(iface))
|
||||||
channel = Channel(channel_cache)
|
channel = Channel(channel_cache)
|
||||||
|
Loading…
Reference in New Issue
Block a user