fixed Display of current SysStatus

This commit is contained in:
2023-04-17 21:53:52 +02:00
parent 97cdd7fad1
commit 6bc523b2a8
4 changed files with 8 additions and 6 deletions

View File

@@ -11,6 +11,13 @@ typedef enum eSystem_Status
sysStat_Shutdown
} tSystem_Status;
const char sSystem_Status_txt[][9] = {
"Startup",
"Normal",
"Error",
"Shutdown"
};
typedef enum eEERequest
{
EE_IDLE,
@@ -31,8 +38,6 @@ typedef struct Globals_s
char DeviceName_ID[43];
char FlashVersion[10];
tSystem_Status systemStatus = sysStat_Startup;
tSystem_Status resumeStatus = sysStat_Startup;
char systemStatustxt[16] = "";
eEERequest requestEEAction = EE_IDLE;
uint16_t eePersistanceAdress;
bool hasDTC;