Skip to content

Commit

Permalink
Fix: Spare MCB fixes (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
AarjavJain101 authored Jul 6, 2024
1 parent 753d6fc commit b813563
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions components/mcb/Core/Src/freertos.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ void StartDefaultTask(void *argument)
/* Infinite loop */
for(;;)
{
// HAL_GPIO_TogglePin(LED_OUT1_GPIO_Port, LED_OUT1_Pin);
// HAL_GPIO_TogglePin(LED_OUT2_GPIO_Port, LED_OUT2_Pin);
#ifndef DEBUG
HAL_IWDG_Refresh(&hiwdg);
#endif
Expand Down
1 change: 1 addition & 0 deletions components/mcb/Core/Src/mcb.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ void SendCANMotorCommand(MotorCommand motorCommand)

if (HAL_CAN_AddTxMessage(&hcan, &drive_command_header, data_send, &can_mailbox) == HAL_OK) {
HAL_GPIO_TogglePin(LED_OUT1_GPIO_Port, LED_OUT1_Pin);
HAL_GPIO_TogglePin(LED_OUT2_GPIO_Port, LED_OUT2_Pin);
}

}
Expand Down

0 comments on commit b813563

Please sign in to comment.