Skip to content

Commit

Permalink
Enabled AutoBusOff
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmagee991 committed May 7, 2024
1 parent ac9710b commit 00bc33d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion targets/DEV1-BMS/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ int main() {
time::wait(500);

// Attempt to join the CAN network
IO::CAN::CANStatus result = can.connect();
IO::CAN::CANStatus result = can.connect(true);

if (result != IO::CAN::CANStatus::OK) {
uart.printf("Failed to connect to CAN network\r\n");
Expand Down
2 changes: 1 addition & 1 deletion targets/bms_canopen/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ int main() {
time::wait(500);

// Attempt to join the CAN network
IO::CAN::CANStatus result = can.connect();
IO::CAN::CANStatus result = can.connect(true);

if (result != IO::CAN::CANStatus::OK) {
uart.printf("Failed to connect to CAN network\r\n");
Expand Down
2 changes: 1 addition & 1 deletion targets/reset_handler/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ int main() {
can.addIRQHandler(canInterruptHandler, &resetHandler);

// Attempt to join the CAN network
IO::CAN::CANStatus result = can.connect();
IO::CAN::CANStatus result = can.connect(true);

if (result != IO::CAN::CANStatus::OK) {
uart.printf("Failed to connect to the CAN network\r\n");
Expand Down
2 changes: 1 addition & 1 deletion targets/system_detect/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ int main() {
time::wait(500);

// Attempt to join the CAN network
IO::CAN::CANStatus result = can.connect();
IO::CAN::CANStatus result = can.connect(true);

if (result != IO::CAN::CANStatus::OK) {
uart.printf("Failed to connect to CAN network\r\n");
Expand Down

0 comments on commit 00bc33d

Please sign in to comment.