mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
tweaks
This commit is contained in:
+3
-3
@@ -260,10 +260,10 @@ def choose_upload_log_host(
|
||||
if (
|
||||
purpose == Purpose.UPLOADING
|
||||
and CORE.data.get(KEY_CORE, {}).get(KEY_TARGET_PLATFORM) == PLATFORM_RP2040
|
||||
and (picotool := _find_picotool()) is not None
|
||||
and detect_rp2040_bootsel(picotool) > 0
|
||||
):
|
||||
picotool = _find_picotool()
|
||||
if picotool is not None and detect_rp2040_bootsel(picotool) > 0:
|
||||
options.append(("RP2040 BOOTSEL (via picotool)", "BOOTSEL"))
|
||||
options.append(("RP2040 BOOTSEL (via picotool)", "BOOTSEL"))
|
||||
|
||||
if purpose == Purpose.LOGGING:
|
||||
if has_mqtt_logging():
|
||||
|
||||
Reference in New Issue
Block a user