vial_generate_vfw: fix support for multiple config.h
This commit is contained in:
parent
16ff6ceaeb
commit
6e7e701982
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user