two extended can broadcasts use the same 29bit id for 2 sets of data fix #7088
This commit is contained in:
parent
5731cdd6dc
commit
e34d38bcc2
|
@ -145,7 +145,7 @@ void sendQcBenchButtonCounters() {
|
|||
}
|
||||
|
||||
void sendQcBenchAuxDigitalCounters() {
|
||||
CanTxMessage msg(CanCategory::BENCH_TEST, (int)bench_test_packet_ids_e::BUTTON_COUNTERS, 8, /*bus*/0, /*isExtended*/true);
|
||||
CanTxMessage msg(CanCategory::BENCH_TEST, (int)bench_test_packet_ids_e::AUX_DIGITAL_COUNTERS, 8, /*bus*/0, /*isExtended*/true);
|
||||
for (int i =0;i<LUA_DIGITAL_INPUT_COUNT;i++) {
|
||||
msg[i] = TRUNCATE_TO_BYTE(engine->luaDigitalInputState[i].state.getCounter());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue