ENH:fix mapping rules when printing from SD card

jira:[STUDIO-9699]

Change-Id: I6019875b312cd29d20d69c876d195e5da1a88d18
(cherry picked from commit 062d4745dd9d19c62b618235ef819f247e538e68)
This commit is contained in:
tao wang
2025-01-10 22:09:40 +08:00
committed by Noisyfox
parent 63a796e14a
commit 5eeea0beba
2 changed files with 13 additions and 5 deletions

View File

@@ -1595,7 +1595,7 @@ void AMSControl::SetAmsStep(std::string ams_id, std::string canid, AMSPassRoadTy
if (model == EXT_AMS && ams->get_ext_type() == AMSModelOriginType::GENERIC_EXT) {
if (m_ams_info.size() == 0 && m_ext_info.size() == 1) {
left = true;
length = 49;
length = 50;
} else {
length = left ? 110 : 82;
}