Files
StarPilot/panda/board/main_definitions.h
T
2026-10-04 00:39:39 -05:00

21 lines
438 B
C

#pragma once
#include "main_declarations.h"
// ********************* Globals **********************
uint8_t hw_type = 0;
board *current_board;
uint32_t uptime_cnt = 0;
uint16_t reset_flags = 0U;
#ifdef STM32F4
uint16_t sound_output_level = 0U;
#endif
// heartbeat state
uint32_t heartbeat_counter = 0;
bool heartbeat_lost = false;
bool heartbeat_disabled = false; // set over USB
// siren state
bool siren_enabled = false;