mirror of https://github.com/ArduPilot/ardupilot
Tools: board_list.py: add AP_PERIPH_HEAVY into is-periph check
This commit is contained in:
parent
a74795bc67
commit
09dac0cc8a
|
@ -74,6 +74,8 @@ class BoardList(object):
|
|||
for line in text:
|
||||
if re.match(r"^\s*env AP_PERIPH 1", line):
|
||||
board.is_ap_periph = 1
|
||||
if re.match(r"^\s*env AP_PERIPH_HEAVY 1", line):
|
||||
board.is_ap_periph = 1
|
||||
|
||||
def read_hwdef(self, filepath):
|
||||
fh = open(filepath)
|
||||
|
|
Loading…
Reference in New Issue