mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
Single-nozzle printers (X1C, P1S, A1) report tray_now=254 for external spool, but BambuStudio sends ams_id=255 (VIRTUAL_TRAY_MAIN_ID) in the print command's ams_mapping2 field. Bambuddy was passing 254 as-is, causing firmware to target AMS tray 0 instead of external spool — resulting in 07FF_8012 "Failed to get AMS mapping table" or prints stuck at heatbed heating when an AMS is connected but empty. Map external spool to ams_id=255 for all non-H2D printers. H2D dual-nozzle printers retain 254 (deputy) / 255 (main) distinction.