vial_generate_vfw: fix support for multiple config.h
This commit is contained in:
parent
16ff6ceaeb
commit
6e7e701982
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ def main():
|
||||||
uid = re.findall(r"#define.*VIAL_KEYBOARD_UID.*{(.*)}", line)
|
uid = re.findall(r"#define.*VIAL_KEYBOARD_UID.*{(.*)}", line)
|
||||||
if uid:
|
if uid:
|
||||||
break
|
break
|
||||||
|
if uid:
|
||||||
|
break
|
||||||
if not uid:
|
if not uid:
|
||||||
print("Cannot identify keyboard UID from configuration files {}, ensure that you have VIAL_KEYBOARD_UID defined!".format(configs))
|
print("Cannot identify keyboard UID from configuration files {}, ensure that you have VIAL_KEYBOARD_UID defined!".format(configs))
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue