Skip to content

Commit

Permalink
changes needed for things to work (#234)
Browse files Browse the repository at this point in the history
* changes needed for things to work

* getting overflow
  • Loading branch information
Kyle02 authored Nov 11, 2023
1 parent 1ef39c1 commit 83a8c05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions can/src/can.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static CanStorage *s_can_storage;
//takes 1 for filter_in, 2 for filter_out and default is unset
static int s_can_filter_in_en = 0;

TASK(CAN_RX, TASK_MIN_STACK_SIZE)
TASK(CAN_RX, TASK_STACK_256)
{
int counter = 0;
while (true)
Expand All @@ -31,7 +31,7 @@ TASK(CAN_RX, TASK_MIN_STACK_SIZE)
}
}

TASK(CAN_TX, TASK_MIN_STACK_SIZE)
TASK(CAN_TX, TASK_STACK_256)
{
int counter = 0;
while (true)
Expand Down
2 changes: 1 addition & 1 deletion libraries/codegen/boards/bms_carrier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
---
Messages:
bps_heartbeat:
id: 64
id: 0
target:
centre_console:
watchdog: 0
Expand Down
2 changes: 1 addition & 1 deletion projects/centre_console/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const CanSettings can_settings = {
.bitrate = CAN_HW_BITRATE_500KBPS,
.tx = { GPIO_PORT_A, 12 },
.rx = { GPIO_PORT_A, 11 },
.loopback = true,
.loopback = false,
};

void run_fast_cycle() {}
Expand Down

0 comments on commit 83a8c05

Please sign in to comment.