mirror of
https://jihulab.com/mr-one/openpilot.git
synced 2026-10-28 21:43:44 +08:00
19 lines
418 B
C
19 lines
418 B
C
#include "main_declarations.h"
|
|
|
|
// ********************* Globals **********************
|
|
uint8_t hw_type = 0;
|
|
board *current_board;
|
|
#ifdef STM32F4
|
|
uint16_t sound_output_level;
|
|
uint16_t spi_error_count;
|
|
#endif
|
|
uint32_t uptime_cnt = 0;
|
|
|
|
// heartbeat state
|
|
uint32_t heartbeat_counter = 0;
|
|
bool heartbeat_lost = false;
|
|
bool heartbeat_disabled = false; // set over USB
|
|
|
|
// siren state
|
|
bool siren_enabled = false;
|