mirror of
https://github.com/esphome/esphome.git
synced 2025-09-05 21:02:20 +01:00
tweak
This commit is contained in:
@@ -1389,7 +1389,7 @@ class MemoryAnalyzer:
|
|||||||
# Top consumers
|
# Top consumers
|
||||||
lines.append("")
|
lines.append("")
|
||||||
lines.append("Top Flash Consumers:")
|
lines.append("Top Flash Consumers:")
|
||||||
for i, (name, mem) in enumerate(components[:10]):
|
for i, (name, mem) in enumerate(components[:25]):
|
||||||
if mem.flash_total > 0:
|
if mem.flash_total > 0:
|
||||||
percentage = (
|
percentage = (
|
||||||
(mem.flash_total / total_flash * 100) if total_flash > 0 else 0
|
(mem.flash_total / total_flash * 100) if total_flash > 0 else 0
|
||||||
|
Reference in New Issue
Block a user