mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-06 07:00:59 +00:00
tool/btstack_parser: fix 0X.. constants
This commit is contained in:
parent
8e7b5449bd
commit
401327f390
@ -49,7 +49,7 @@ def read_defines(infile):
|
|||||||
parts = re.match('#define\s+(\w+)\s+(\w*)[u]',line)
|
parts = re.match('#define\s+(\w+)\s+(\w*)[u]',line)
|
||||||
if parts and len(parts.groups()) == 2:
|
if parts and len(parts.groups()) == 2:
|
||||||
(key, value) = parts.groups()
|
(key, value) = parts.groups()
|
||||||
defines[key] = value
|
defines[key] = value.lower()
|
||||||
return defines
|
return defines
|
||||||
|
|
||||||
def parse_defines():
|
def parse_defines():
|
||||||
|
Loading…
Reference in New Issue
Block a user