Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion board/body/can.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "board/can.h"
#include "board/health.h"
#include "board/body/motor_control.h"
#include "board/drivers/can_common_declarations.h"
#include "board/drivers/drivers.h"
#include "opendbc/safety/declarations.h"

#define BODY_CAN_ADDR_MOTOR_SPEED 0x201U
Expand Down
5 changes: 2 additions & 3 deletions board/bootstub_declarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ void puth4(uint8_t i){ UNUSED(i); }
void hexdump(const void *a, int l){ UNUSED(a); UNUSED(l); }
typedef struct board board;
typedef struct harness_configuration harness_configuration;
typedef struct uart_ring uart_ring;
extern uart_ring uart_ring_som_debug;
void pwm_init(TIM_TypeDef *TIM, uint8_t channel);
void pwm_set(TIM_TypeDef *TIM, uint8_t channel, uint8_t percentage);
// No UART support in bootloader
typedef struct uart_ring {} uart_ring;
uart_ring uart_ring_som_debug;
void uart_init(uart_ring *q, int baud) { UNUSED(q); UNUSED(baud); }

// ********************* Globals **********************
Expand Down
2 changes: 1 addition & 1 deletion board/drivers/bootkick.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "bootkick_declarations.h"
#include "board/drivers/drivers.h"

bool bootkick_reset_triggered = false;

Expand Down
5 changes: 0 additions & 5 deletions board/drivers/bootkick_declarations.h

This file was deleted.

2 changes: 1 addition & 1 deletion board/drivers/can_common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "can_common_declarations.h"
#include "board/drivers/drivers.h"

uint32_t safety_tx_blocked = 0;
uint32_t safety_rx_invalid = 0;
Expand Down
70 changes: 0 additions & 70 deletions board/drivers/can_common_declarations.h

This file was deleted.

2 changes: 1 addition & 1 deletion board/drivers/clock_source.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "clock_source_declarations.h"
#include "board/drivers/drivers.h"

void clock_source_set_timer_params(uint16_t param1, uint16_t param2) {
// Pulse length of each channel
Expand Down
7 changes: 0 additions & 7 deletions board/drivers/clock_source_declarations.h

This file was deleted.

Loading
Loading