diff --git a/sufst-controller/daq.h b/sufst-controller/daq.h index 23423cad2c677c059176a184baf30aa40e384171..18a6102b664d41671f62cdc356ece424d737697a 100644 --- a/sufst-controller/daq.h +++ b/sufst-controller/daq.h @@ -24,17 +24,17 @@ struct DaqEvoScannPressureFormat } __attribute__((packed)); static const uint8_t daqEcuDataToTag[8][4] = { - {1, 2, 3, 4}, - {5, 6, 7, 8}, - {9, 10, 11, 12}, - {13, 14, 15, 16}, - {17, 18, 19, 20}, - {21, 22, 23, 24}, - {25, 26, 27, 28}, - {29, 30, 31, 32}, + {0, 1, 2, 3}, + {4, 5, 6, 7}, + {8, 9, 10, 11}, + {12, 13, 14, 15}, + {16, 17, 18, 19}, + {20, 21, 22, 23}, + {24, 25, 26, 27}, + {28, 29, 30, 31}, }; -static const uint8_t daqEvoScannPressSensToTag[8] = {33, 34, 35, 36, 37, 38, 39, 40}; +static const uint8_t daqEvoScannPressSensToTag[8] = {32, 33, 34, 35, 36, 37, 38, 39}; void daqEcuWrite(CanMsgTemplate *canMsg, uint8_t index);