Skip to content

Commit

Permalink
change timeout to 20 to account for lower send freq
Browse files Browse the repository at this point in the history
  • Loading branch information
adurham committed Sep 23, 2024
1 parent 27ca61c commit 69b8e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/pedal/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void CAN1_TX_IRQ_Handler(void) {
uint16_t gas_set_0 = 0;
uint16_t gas_set_1 = 0;

#define MAX_TIMEOUT 10U
#define MAX_TIMEOUT 20U
uint32_t timeout = 0;
uint32_t current_index = 0;

Expand Down

0 comments on commit 69b8e69

Please sign in to comment.