mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
oops
This commit is contained in:
parent
9f4347b13c
commit
b041fd452c
@ -214,7 +214,7 @@ def get_jsondata(is_for_document, parseArgs = True, board = False):
|
||||
"filename" : "BOARD.py",
|
||||
"include" : "platform_config.h"
|
||||
})
|
||||
if "BTN" in board.devices:
|
||||
if "BTN1" in board.devices:
|
||||
jsondatas.append({
|
||||
"type" : "variable",
|
||||
"name" : "BTN",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user