Skip to content

Commit

Permalink
Device name is used as device-id and prompt right now; let's keep it …
Browse files Browse the repository at this point in the history
…consistent
  • Loading branch information
weliveindetail committed Jan 31, 2023
1 parent b38c6d9 commit 5b82b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_metro_m0/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def connect(info: SysFS, host: ez_clang_api.Host, m0: ez_clang_api.Device,
session: ez.repl.Session, stream: ez.repl.serialize.Stream32
) -> ez.repl.IOSerializer:
session.host = host # FIXME: formatExpressionResult()
m0.name = "m0"
m0.name = session.deviceId
m0.transport = info.device + " -> Adafruit Metro M0" # TODO: Rename property to 'description' or so
stream.endian = 'little'
stream.verbose = 'rpc_bytes' in host.verbose()
Expand Down

0 comments on commit 5b82b52

Please sign in to comment.