Read tire temps from CAN

This commit is contained in:
2022-03-17 00:09:13 +01:00
parent 197b805f35
commit c8e94175d1
4 changed files with 46 additions and 20 deletions

View File

@ -60,8 +60,8 @@ typedef struct {
// uint8_t i; //Index
// linker Drehschalter
uint8_t buttonStateEnc1; // button
// uint8_t br; //test mode :
// mittlere Drehschalter position
// uint8_t br; //test
// mode : mittlere Drehschalter position
uint8_t buttonStateEnc2; // button
uint8_t displayindex; // index für Displayanzeige
uint8_t error_type; // Extrainfos über Error-LED
@ -82,6 +82,10 @@ typedef struct {
uint8_t t_oil; // Öl-Motor-Temperatur
uint8_t t_mot; // Wasser-Motor-Temperatur
uint8_t t_air; // LLK-Temperatur
uint8_t t_tfl; // Tire temp front left
uint8_t t_tfr; // Tire temp front right
uint8_t t_trl; // Tire temp rear left
uint8_t t_trr; // Tire temp rear right
uint8_t u_batt; // Batteriespannung
uint8_t rev_lim; // Drehzahllimit Bit
uint8_t p_wat;
@ -93,7 +97,7 @@ typedef struct {
uint8_t speed_fr;
uint8_t speed;
uint8_t lap_time_sec;
uint8_t lap_time_msec;
uint16_t lap_time_msec;
} vehicle_data_type;
extern volatile stw_data_type Stw_data;