mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 06:34:34 +02:00
efuse: Fix handling aliases in efuse_table_gen
This commit is contained in:
@@ -439,7 +439,7 @@ class FuseDefinition(object):
|
|||||||
str(self.get_bit_count()) + '}, \t // ' + self.comment])
|
str(self.get_bit_count()) + '}, \t // ' + self.comment])
|
||||||
|
|
||||||
def get_alt_names(self):
|
def get_alt_names(self):
|
||||||
result = re.search(r'\[(.*?)\]', self.comment)
|
result = re.search(r'^\[(.*?)\]', self.comment)
|
||||||
if result:
|
if result:
|
||||||
return result.group(1).split()
|
return result.group(1).split()
|
||||||
return []
|
return []
|
||||||
|
Reference in New Issue
Block a user