Skip to content

Commit

Permalink
Updated brake pressure sensor to compile with can lib release 131
Browse files Browse the repository at this point in the history
  • Loading branch information
jhwang04 committed Sep 22, 2024
1 parent 8fe9e83 commit 6e434df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/interfaces/src/MCUInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ void MCUInterface::update_mcu_status_CAN_pedals(const PedalsSystemData_s &pedals
void MCUInterface::update_brake_pressure_CAN()
{
BRAKE_PRESSURE_SENSOR_t brake_sensor_msg;
brake_sensor_msg.brake_sensor_analog_read = analogRead(pins_.pin_brake_pressure_sensor_read);
brake_sensor_msg.brake_sensor_analog_read_ro = analogRead(pins_.pin_brake_pressure_sensor_read);

CAN_message_t msg;

Expand Down
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ lib_deps =
https://github.com/tonton81/FlexCAN_T4
https://github.com/ssilverman/QNEthernet#v0.26.0
https://github.com/RCMast3r/hytech_can#testing_new_inv_ids
https://github.com/hytech-racing/HT_CAN/releases/download/127/can_lib.tar.gz
https://github.com/hytech-racing/HT_CAN/releases/download/132/can_lib.tar.gz

[env:test_can_on_teensy]
lib_ignore =
Expand All @@ -81,7 +81,7 @@ lib_deps =
https://github.com/hytech-racing/shared_firmware_interfaces.git#feature/thermistor-template
https://github.com/hytech-racing/shared_firmware_systems.git#af96a63
https://github.com/RCMast3r/spi_libs#2214fee
https://github.com/hytech-racing/HT_CAN/releases/download/127/can_lib.tar.gz
https://github.com/hytech-racing/HT_CAN/releases/download/131/can_lib.tar.gz
git+ssh://git@github.com/hytech-racing/CASE_lib.git#v49


0 comments on commit 6e434df

Please sign in to comment.