[Feature] Spoolbuddy Fixes and Improvements (#787)

[Feature] Spoolbuddy Fixes and Improvements (#787)
This commit is contained in:
Keybored
2026-03-24 11:56:33 +01:00
committed by GitHub
parent 9f2722be36
commit 6e648804fc
27 changed files with 2276 additions and 326 deletions
+7 -1
View File
@@ -25,7 +25,13 @@ class ScaleReader:
self._scale = NAU7802()
self._scale.init()
self._ok = True
logger.info("Scale initialized (tare=%d, cal=%.6f)", tare_offset, calibration_factor)
bus_num = getattr(self._scale, "_bus_num", "?")
logger.info(
"Scale initialized on I2C bus %s (tare=%d, cal=%.6f)",
bus_num,
tare_offset,
calibration_factor,
)
except Exception as e:
logger.info("Scale not available: %s", e)