FIX: several small fixs

Change-Id: Iee10daeedae924fa829148841556e31eb5e9d225
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-11-10 11:22:21 +08:00 committed by Lane.Wei
parent 0dd5057b4d
commit bde96c1542
4 changed files with 10 additions and 4 deletions

View file

@ -4039,7 +4039,7 @@ void GCodeProcessor::update_slice_warnings()
if (!warning.params.empty()) {
warning.msg = BED_TEMP_TOO_HIGH_THAN_FILAMENT;
warning.error_code = "10004001";
warning.error_code = "1000C001";
m_result.warnings.push_back(warning);
//bbs:HRC checker
@ -4057,6 +4057,12 @@ void GCodeProcessor::update_slice_warnings()
}
}
if (!warning.params.empty()) {
warning.msg = NOZZLE_HRC_CHECKER;
warning.error_code = "1000C002";
m_result.warnings.push_back(warning);
}
m_result.warnings.shrink_to_fit();
}