mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
fix setHostname/etc on ESP8266
This commit is contained in:
parent
67f77947ae
commit
31eadf25f8
@ -185,6 +185,7 @@ def get_jsondata(is_for_document, parseArgs = True, board = False):
|
||||
if ("#if" in jsondata):
|
||||
expr = jsondata["#if"]
|
||||
for defn in defines:
|
||||
expr = expr.replace("defined("+defn+")", "True");
|
||||
if defn.find('=')!=-1:
|
||||
dname = defn[:defn.find('=')]
|
||||
dkey = defn[defn.find('=')+1:]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user