Send AMS error messages

This commit is contained in:
2023-04-30 00:57:42 +02:00
parent 48ae56fbdf
commit ce4d7253eb
6 changed files with 34 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include "stm32f3xx_hal.h"
#define THRESH_OVERCURRENT 300000 // mA
#define THRESH_OVERTEMP 1000 // 1/10 °C
typedef struct {
int32_t current;