Skip to content

Commit

Permalink
Forgot to include can.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dnakhooda committed Jan 16, 2025
1 parent b9d9932 commit 8036bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Src/control.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "control.h"
#include "pdu.h"
#include "can.h"

osThreadId_t control_handle;
const osThreadAttr_t control_attributes = {
Expand All @@ -13,9 +14,8 @@ static int fanBattBoxState = 0;
void vEval_fanbattbox_state(void *param)
{
control_args_t args = (control_args_t *)param;
pdu_t *pdu = args->pdu;

write_fan_battbox(pdu, eval_fanbattbox_state());
write_fan_battbox(args->pdu, eval_fanbattbox_state());

osDelay(1000);
}
Expand Down

0 comments on commit 8036bc5

Please sign in to comment.