Skip to content

Commit

Permalink
Small Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dnakhooda committed Jan 16, 2025
1 parent 8036bc5 commit fe623d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Core/Inc/control.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define CONTROL_H

#include "pdu.h"
#include "can.h"

// TODO: replace this temp value with real value
#define CONTROL_CANID_FANBATTBOX 0xA
Expand Down
3 changes: 1 addition & 2 deletions Core/Src/control.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "control.h"
#include "pdu.h"
#include "can.h"

osThreadId_t control_handle;
const osThreadAttr_t control_attributes = {
Expand All @@ -13,7 +12,7 @@ static int fanBattBoxState = 0;

void vEval_fanbattbox_state(void *param)
{
control_args_t args = (control_args_t *)param;
control_args_t *args = (control_args_t *)param;

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

Expand Down

0 comments on commit fe623d3

Please sign in to comment.