mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-06 22:21:29 +02:00
The on_ams_change() handler recalculated weight_used from the AMS remain% sensor on every status update, overwriting precise values from the usage tracker. For small prints on large spools (e.g. 1.6g on 1000g), the integer-resolution sensor (10g steps) still reported 100% remain, resetting weight_used back to 0. The sync now only increases weight_used, never decreases it.