Skip to content

Commit

Permalink
correct CAN WSS sensor types
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Nov 7, 2024
1 parent bfc9712 commit 0caa4cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions firmware/controllers/can/can_vss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ expected<WssResult> tryDecodeWss(can_vss_nbc_e type, const CANRxFrame& frame) {

static StoredValueSensor canSpeed(SensorType::VehicleSpeed, MS2NT(500));
static StoredValueSensor wssLf(SensorType::WheelSpeedLF, MS2NT(500));
static StoredValueSensor wssRf(SensorType::WheelSpeedLF, MS2NT(500));
static StoredValueSensor wssLr(SensorType::WheelSpeedLF, MS2NT(500));
static StoredValueSensor wssRr(SensorType::WheelSpeedLF, MS2NT(500));
static StoredValueSensor wssRf(SensorType::WheelSpeedRF, MS2NT(500));
static StoredValueSensor wssLr(SensorType::WheelSpeedLR, MS2NT(500));
static StoredValueSensor wssRr(SensorType::WheelSpeedRR, MS2NT(500));

void processCanRxVss(const CANRxFrame& frame, efitick_t nowNt) {
if (!engineConfiguration->enableCanVss || !isInit) {
Expand Down

0 comments on commit 0caa4cf

Please sign in to comment.