vial_generate_vfw: fix support for multiple config.h

This commit is contained in:
Ilya Zhuravlev 2021-01-19 15:40:58 -05:00
parent 16ff6ceaeb
commit 6e7e701982

View File

@ -18,6 +18,8 @@ def main():
uid = re.findall(r"#define.*VIAL_KEYBOARD_UID.*{(.*)}", line)
if uid:
break
if uid:
break
if not uid:
print("Cannot identify keyboard UID from configuration files {}, ensure that you have VIAL_KEYBOARD_UID defined!".format(configs))
return 1