mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 23:33:58 +08:00
set safety param for knockouts
This commit is contained in:
@@ -138,7 +138,7 @@ bool safety_setter_thread(std::vector<Panda *> pandas) {
|
||||
|
||||
// set to ELM327 for ECU knockouts
|
||||
for (Panda *panda : pandas) {
|
||||
panda->set_safety_model(cereal::CarParams::SafetyModel::ELM327);
|
||||
panda->set_safety_model(cereal::CarParams::SafetyModel::ELM327, 1U);
|
||||
}
|
||||
|
||||
std::string params;
|
||||
|
||||
Reference in New Issue
Block a user