Commit da07b3f330f875510e050db34ac26a3d805f07dc

Authored by 고영탁
1 parent cc835a688b
Exists in master and in 2 other branches fhd, fhd-demo

GUI V0.3.14

 - FRAM 초기화 문제 발생 수정
app/gui/oven_control/define.h
... ... @@ -5,7 +5,7 @@
5 5  
6 6 #define MAJOR_VER 0
7 7 #define MINOR_VER 3
8   -#define HOTFIX_VER 13
  8 +#define HOTFIX_VER 14
9 9  
10 10 namespace Define
11 11 {
... ...
app/gui/oven_control/servicedata.cpp
... ... @@ -79,7 +79,7 @@ bool ServiceData::loadServiceData(void){
79 79 if(fd>0){
80 80 memset(buffs,0x00,FRAM_SIZE);
81 81 read(fd,buffs,FRAM_SIZE);
82   - if(buffs[sizeof(error_log) + sizeof(use_statics_log) + sizeof(sensor_statics_log) + sizeof(qint64) + sizeof(int)] != 0x9C){
  82 + if(buffs[sizeof(error_log) + sizeof(use_statics_log) + sizeof(sensor_statics_log)] != 0x9C){
83 83 qDebug() << "service data read incorrected!";
84 84 close(fd);
85 85 return saveServiceData();
... ...