get them out

This commit is contained in:
Jason Wen
2025-05-19 15:34:58 -04:00
parent 44fe1b8128
commit 532b671bfb

View File

@@ -57,7 +57,7 @@ void MadsSettings::updateToggles(bool _offroad) {
capnp::FlatArrayMessageReader cmsg(aligned_buf.align(cp_bytes.data(), cp_bytes.size()));
cereal::CarParams::Reader CP = cmsg.getRoot<cereal::CarParams>();
if (isBrandInList(CP.getBrand(), mads_limited_settings_brands)) {
if (isBrandInList(CP.getBrand(), mads_limited_settings_brands)) { // trigger UI preview, remove
params.remove("MadsMainCruiseAllowed");
params.putBool("MadsUnifiedEngagementMode", true);
params.put("MadsSteeringMode", std::to_string(static_cast<int>(MadsSteeringMode::DISENGAGE)));