We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a9ed1a commit bfdac54Copy full SHA for bfdac54
1 file changed
examples/gpio/esp32spi_gpio.py
@@ -85,9 +85,7 @@ def esp_status_text(n):
85
86
espfirmware = ""
87
for _ in esp.firmware_version:
88
- if _ == 0:
89
- break
90
- else:
+ if _ != 0:
91
espfirmware += "{:c}".format(_)
92
print("ESP32 Firmware:", espfirmware)
93
0 commit comments