diff --git a/Projects/la_mojo/build b/Projects/la_mojo/build index 8d62327c..7efee7e2 100755 --- a/Projects/la_mojo/build +++ b/Projects/la_mojo/build @@ -4,7 +4,7 @@ #make clean -e "CFG=Debug" #make -e "CFG=Debug" -j$(nproc) -make clean -e "CFG=Debug86" +#make clean -e "CFG=Debug86" make -e "CFG=Debug86" -j$(nproc) #make clean -e "CFG=Release86" diff --git a/lib/App/common/hardwareManager.cpp b/lib/App/common/hardwareManager.cpp index 540a605f..41d9e07d 100644 --- a/lib/App/common/hardwareManager.cpp +++ b/lib/App/common/hardwareManager.cpp @@ -1463,7 +1463,7 @@ bool hardwareManager::updateSysInfo( DBC_SYS_LOAD_INFO *ptr ){ FILE *fd = fopen( tB, "r" ); readLine( fd, tB, 128 ); fclose(fd); - if ( strcasestr(tB,"cpu")!=NULL || strcasestr(tB,"x86_pkg")!=NULL) { + if ( strcasestr(tB,"cpu")!=NULL || strcasestr(tB,"x86_pkg")!=NULL || strcasestr(tB,"acpitz")!=NULL ) { sprintf( tB, "/sys/class/thermal/thermal_zone%d/temp", i ); FILE *fd = fopen( tB, "r" ); readLine( fd, tB, 128 ); diff --git a/lib/App/common/hardwareResourceSerialProvider.cpp b/lib/App/common/hardwareResourceSerialProvider.cpp index 9d7884f3..d8fb9fec 100644 --- a/lib/App/common/hardwareResourceSerialProvider.cpp +++ b/lib/App/common/hardwareResourceSerialProvider.cpp @@ -949,7 +949,7 @@ bool hardwareResourceSerialProvider::closePort(){ if( iActiveFDS == 0 ){ } else if( iActiveFDS == -1){ m_bThreadBStatus = TH_ENDED; - m_bThreadAStatus = TH_ENDED; + //m_bThreadAStatus = TH_ENDED; LOG_ERROR("Failure during Select[r]!"); } else { for ( int i =0; i <= m_nReaderSetMax && iActiveFDS > 0; i++ ){