mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
efuse: Fix handling aliases in efuse_table_gen
This commit is contained in:
parent
723b2e86e5
commit
b950f5de8d
@ -439,7 +439,7 @@ class FuseDefinition(object):
|
||||
str(self.get_bit_count()) + '}, \t // ' + self.comment])
|
||||
|
||||
def get_alt_names(self):
|
||||
result = re.search(r'\[(.*?)\]', self.comment)
|
||||
result = re.search(r'^\[(.*?)\]', self.comment)
|
||||
if result:
|
||||
return result.group(1).split()
|
||||
return []
|
||||
|
Loading…
x
Reference in New Issue
Block a user