From 5f4bde0a7754be2e98ef69cbfaaa75261b04a004 Mon Sep 17 00:00:00 2001 From: jazzpi Date: Tue, 26 Jul 2022 18:09:52 +0200 Subject: [PATCH] Add ctrl error codes --- Core/Inc/main.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/Inc/main.h b/Core/Inc/main.h index ec11774..7137b0a 100644 --- a/Core/Inc/main.h +++ b/Core/Inc/main.h @@ -47,6 +47,8 @@ extern "C" { #define THRESH_UT 0 /* 0C */ #define THRESH_OT 880 /* 55C */ +#define AMS_ERRORCODE_TIMEOUT_SLAVE 1 +#define AMS_ERRORCODE_SLAVE_PANIC 2 #define AMS_ERRORCODE_TIMEOUT_SHUNT 6 #define AMS_ERRORCODE_MASTER_THRESH 7