6e2ccc8b15
version: sunnypilot v2026.002.000 (staging) date: 2026-05-27T04:05:25 master commit: dfc3c98b226da57a653daf57131a8a3d66166fcb
18 lines
753 B
C
18 lines
753 B
C
// ******************** Prototypes ********************
|
|
void print(const char *a){ UNUSED(a); }
|
|
void puth(unsigned int i){ UNUSED(i); }
|
|
void puth2(unsigned int i){ UNUSED(i); }
|
|
__attribute__((unused)) static void puth4(unsigned int i){ UNUSED(i); }
|
|
void hexdump(const void *a, int l){ UNUSED(a); UNUSED(l); }
|
|
typedef struct board board;
|
|
typedef struct harness_configuration harness_configuration;
|
|
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;
|
|
void uart_init(uart_ring *q, int baud) { UNUSED(q); UNUSED(baud); }
|
|
|
|
// ********************* Globals **********************
|
|
uint8_t hw_type = 0;
|
|
board *current_board;
|