Skip to content

Commit

Permalink
Fix printing misformatted features on ESP8266, crashing on ESP8285
Browse files Browse the repository at this point in the history
  • Loading branch information
projectgus committed Feb 27, 2018
1 parent 4bd8975 commit da31d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esptool.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

import serial

__version__ = "2.3"
__version__ = "2.3.1"

MAX_UINT32 = 0xffffffff
MAX_UINT24 = 0xffffff
Expand Down Expand Up @@ -892,7 +892,7 @@ def get_chip_description(self):
return "ESP8285" if is_8285 else "ESP8266EX"

def get_chip_features(self):
features = "WiFi"
features = [ "WiFi" ]
if self.get_chip_description() == "ESP8285":
features += ["Embedded Flash"]
return features
Expand Down

0 comments on commit da31d9d

Please sign in to comment.