diff --git a/app/gui/oven_control/define.h b/app/gui/oven_control/define.h index 3e90629..8ece2ee 100644 --- a/app/gui/oven_control/define.h +++ b/app/gui/oven_control/define.h @@ -4,8 +4,8 @@ #include #define MAJOR_VER 1 -#define MINOR_VER 1 -#define HOTFIX_VER 00 +#define MINOR_VER 2 +#define HOTFIX_VER 01 // 0 for normal // 1 for premium diff --git a/app/gui/oven_control/ovenstatics.cpp b/app/gui/oven_control/ovenstatics.cpp index 22dc4f8..df51e85 100644 --- a/app/gui/oven_control/ovenstatics.cpp +++ b/app/gui/oven_control/ovenstatics.cpp @@ -432,6 +432,7 @@ void OvenStatistics::oneSecTimerFired(void){ if(nStateErrValStableCnt>=DELAY_ERROR_TIME){ errstatetemp = state.controller_error; if(errstatetemp != 0 && errstatetemp != curControlErrorState){ + qDebug() << "__func__" << "state error"; processStateError((errstatetemp&state_err_mask[cookingstate][cfg->getConfigValue(Define::config_model).d32]),ltime); } curControlErrorState = errstatetemp; diff --git a/app/gui/oven_control/ovenstatics.h b/app/gui/oven_control/ovenstatics.h index f7d18c3..d117d69 100644 --- a/app/gui/oven_control/ovenstatics.h +++ b/app/gui/oven_control/ovenstatics.h @@ -358,31 +358,31 @@ private: }; const uint32_t state_err_mask[3][MAX_MODEL_COUNT] = { - {0x0000, //ele 10 - 0x0000, //ele 20 - 0x0000, //ele 24 - 0x0000, //ele 40 - 0x0000, //lpg 10 - 0x0000, //lpg 20 - 0x0000, //lpg 24 - 0x0000, //lpg 40 - 0x0000, //lng 10 - 0x0000, //lng 20 - 0x0000, //lng 24 - 0x0000 //lng 40 + {0x0018, //ele 10 + 0x0018, //ele 20 + 0x0018, //ele 24 + 0x0018, //ele 40 + 0x0018, //lpg 10 + 0x0018, //lpg 20 + 0x0018, //lpg 24 + 0x0018, //lpg 40 + 0x0018, //lng 10 + 0x0018, //lng 20 + 0x0018, //lng 24 + 0x0018 //lng 40 }, //end of noncooking state - {0x0000, //ele 10 - 0x0000, //ele 20 - 0x0000, //ele 24 - 0x0000, //ele 40 - 0x0000, //lpg 10 - 0x0000, //lpg 20 - 0x0000, //lpg 24 - 0x0000, //lpg 40 - 0x0000, //lng 10 - 0x0000, //lng 20 - 0x0000, //lng 24 - 0x0000 //lng 40 + {0x0018, //ele 10 + 0x0018, //ele 20 + 0x0018, //ele 24 + 0x0018, //ele 40 + 0x0018, //lpg 10 + 0x0018, //lpg 20 + 0x0018, //lpg 24 + 0x0018, //lpg 40 + 0x0018, //lng 10 + 0x0018, //lng 20 + 0x0018, //lng 24 + 0x0018 //lng 40 }, {0x0000, //ele 10 0x0000, //ele 20