Add screen for configuring vehicle parameters

This commit is contained in:
2023-04-04 20:58:34 +02:00
parent 09f65fcf22
commit a5f10be4fd
35 changed files with 1976 additions and 104 deletions

24
Core/Inc/params.h Normal file
View File

@ -0,0 +1,24 @@
#ifndef INC_PARAMS_H
#define INC_PARAMS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
typedef struct {
float bbal;
unsigned tc1;
unsigned tc2;
unsigned torque_map;
unsigned test[4];
} Params;
extern Params params;
#ifdef __cplusplus
}
#endif
#endif // INC_PARAMS_H

3
Core/Src/params.c Normal file
View File

@ -0,0 +1,3 @@
#include "params.h"
Params params = {0};