Skip to content

Commit da31d9d

Browse files
committed
Fix printing misformatted features on ESP8266, crashing on ESP8285
1 parent 4bd8975 commit da31d9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esptool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
import serial
3535

36-
__version__ = "2.3"
36+
__version__ = "2.3.1"
3737

3838
MAX_UINT32 = 0xffffffff
3939
MAX_UINT24 = 0xffffff
@@ -892,7 +892,7 @@ def get_chip_description(self):
892892
return "ESP8285" if is_8285 else "ESP8266EX"
893893

894894
def get_chip_features(self):
895-
features = "WiFi"
895+
features = [ "WiFi" ]
896896
if self.get_chip_description() == "ESP8285":
897897
features += ["Embedded Flash"]
898898
return features

0 commit comments

Comments
 (0)