Skip to content

Commit 6b7f85e

Browse files
Caclulate RAM delta properly
1 parent 12aa42a commit 6b7f85e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/archive_build_size.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def parse_description(description):
136136
match = re.search(r'ROM:\s*([0-9,]+)b.*\sRAM:\s*([0-9,]+)b', description)
137137
assert match, 'Unable to parse "%s"' % description
138138
rom_size = int(match.group(1).replace(',', ''))
139-
ram_size = int(match.group(1).replace(',', ''))
139+
ram_size = int(match.group(2).replace(',', ''))
140140
return ImageSize(rom=rom_size, ram=ram_size)
141141

142142

0 commit comments

Comments
 (0)