steering-wheel/Core/Inc/vehicle.h

31 lines
499 B
C
Raw Normal View History

2023-03-08 20:20:01 +01:00
#ifndef __INC_VEHICLE_H
#define __INC_VEHICLE_H
2023-03-15 18:43:38 +01:00
#ifdef __cplusplus
extern "C" {
#endif
#include "params.h"
#include "stw_defines.h"
2023-05-05 16:40:56 +02:00
void vehicle_select_mission(Mission mission);
void vehicle_broadcast_param(ParamType param, int32_t value);
#ifndef SIMULATOR
#include "tx_port.h"
2023-03-18 21:44:01 +01:00
#include "stm32h7xx_hal.h"
2023-03-18 21:44:01 +01:00
2023-03-08 20:20:01 +01:00
void vehicle_thread_entry(ULONG hfdcan_addr);
2023-04-11 21:32:14 +02:00
void vehicle_broadcast_buttons(GPIO_PinState *button_states);
2023-04-04 22:05:50 +02:00
#endif // SIMULATOR
2023-03-15 18:43:38 +01:00
#ifdef __cplusplus
}
#endif
2023-03-08 20:20:01 +01:00
#endif // __INC_VEHICLE_H