mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
* expose debug flags and improve debug console output * puth4 * other flags need to be set more locally * fix misra violations * fix misra violation * fix misra violation
16 lines
624 B
C
16 lines
624 B
C
// ******************** Prototypes ********************
|
|
void puts(const char *a){ UNUSED(a); }
|
|
void puth(uint8_t i){ UNUSED(i); }
|
|
void puth2(uint8_t i){ UNUSED(i); }
|
|
void puth4(uint8_t i){ UNUSED(i); }
|
|
typedef struct board board;
|
|
typedef struct harness_configuration harness_configuration;
|
|
// No CAN support on bootloader
|
|
void can_flip_buses(uint8_t bus1, uint8_t bus2){UNUSED(bus1); UNUSED(bus2);}
|
|
void pwm_init(TIM_TypeDef *TIM, uint8_t channel);
|
|
void pwm_set(TIM_TypeDef *TIM, uint8_t channel, uint8_t percentage);
|
|
|
|
// ********************* Globals **********************
|
|
uint8_t hw_type = 0;
|
|
const board *current_board;
|