From d8dfcc69a95cb17b5da2fe4379d81f3d96f61c49 Mon Sep 17 00:00:00 2001 From: Ole Odendahl Date: Sun, 23 Oct 2022 18:55:46 +0200 Subject: [PATCH] Final cosmetic changes in flashing code to improve output and variable naming. --- flashing/pyocd/flash_firmware.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flashing/pyocd/flash_firmware.py b/flashing/pyocd/flash_firmware.py index 8a2a918..2233660 100644 --- a/flashing/pyocd/flash_firmware.py +++ b/flashing/pyocd/flash_firmware.py @@ -37,6 +37,6 @@ with ConnectHelper.session_with_chosen_probe() as session: target.reset_and_halt() target.resume() - mac_converter = MacAddressReader(target) - mac_address = mac_converter.get_static_mac_address() - print(f'Static manufacturer MAC address: {mac_address}') + mac_address_reader = MacAddressReader(target) + mac_address = mac_address_reader.get_static_mac_address() + print(f'Static manufacturer MAC address (DEVICEADDR): {mac_address}')