mirror of https://github.com/commaai/openpilot.git
cabana: default factor to 1 (#26521)
This commit is contained in:
parent
fe2368c9eb
commit
e099e42147
|
@ -235,7 +235,7 @@ void DetailWidget::addSignal(int start_bit, int size, bool little_endian) {
|
|||
}
|
||||
}
|
||||
}
|
||||
Signal sig = {.is_little_endian = little_endian};
|
||||
Signal sig = {.is_little_endian = little_endian, .factor = 1};
|
||||
for (int i = 1; /**/; ++i) {
|
||||
sig.name = "NEW_SIGNAL_" + std::to_string(i);
|
||||
if (msg->sigs.count(sig.name.c_str()) == 0) break;
|
||||
|
|
Loading…
Reference in New Issue