Skip to content

Commit

Permalink
send extended can
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabramz committed Apr 27, 2024
1 parent 2d9dafb commit 9123aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Src/compute.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ int compute_send_charging_message(uint16_t voltage_to_set, uint16_t current_to_s
charger_msg.data[2] = charger_msg.data[3];
charger_msg.data[3] = temp;

HAL_StatusTypeDef res = can_send_msg(&can2, &charger_msg);
HAL_StatusTypeDef res = can_send_extended_msg(&can2, &charger_msg);
if(res != HAL_OK) {
printf("CAN ERROR CODE %X", res);
}
Expand Down

0 comments on commit 9123aab

Please sign in to comment.