refactor: promote DevAmsType to global enum, rename DUMMY to EXT_SPOOL

Matches BambuStudio's DevAmsType naming convention.
This commit is contained in:
Noisyfox committed 2026-07-07 11:49:55 +08:00
1 parent c983f60d00
commit 272e88a337
4 files changed
+17 -10

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ DevAms::DevAms(const std::string& ams_id, int nozzle_id, int type)
m_ams_id = ams_id;
m_ext_id = nozzle_id;
m_ams_type = (AmsType)type;
assert(DUMMY < type && m_ams_type <= N3S);
assert(EXT_SPOOL < type && m_ams_type <= N3S);
}
DevAms::~DevAms()