two extended can broadcasts use the same 29bit id for 2 sets of data fix #7088

This commit is contained in:
rusefillc 2024-11-20 16:10:31 -05:00
parent 5731cdd6dc
commit e34d38bcc2
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ void sendQcBenchButtonCounters() {
} }
void sendQcBenchAuxDigitalCounters() { 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++) { for (int i =0;i<LUA_DIGITAL_INPUT_COUNT;i++) {
msg[i] = TRUNCATE_TO_BYTE(engine->luaDigitalInputState[i].state.getCounter()); msg[i] = TRUNCATE_TO_BYTE(engine->luaDigitalInputState[i].state.getCounter());
} }