Skip to content

Commit 5b82b52

Browse files
Device name is used as device-id and prompt right now; let's keep it consistent
1 parent b38c6d9 commit 5b82b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_metro_m0/serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def connect(info: SysFS, host: ez_clang_api.Host, m0: ez_clang_api.Device,
100100
session: ez.repl.Session, stream: ez.repl.serialize.Stream32
101101
) -> ez.repl.IOSerializer:
102102
session.host = host # FIXME: formatExpressionResult()
103-
m0.name = "m0"
103+
m0.name = session.deviceId
104104
m0.transport = info.device + " -> Adafruit Metro M0" # TODO: Rename property to 'description' or so
105105
stream.endian = 'little'
106106
stream.verbose = 'rpc_bytes' in host.verbose()

0 commit comments

Comments
 (0)