コード例 #1
0
ファイル: si.c プロジェクト: stesee/open7x0.org
bool CRCSection::CheckCRCAndParse() {
//M7X0 BEGIN AK
// For Debuging is the driver delivers only Sections
// with valid CRC. CRC-Checking can be dropped.
// No need to check this any more driver delivers 
// CRC invalid sections 
#if 0
   if (!isCRCValid()) {
      dsyslog("DEBUG: CRC of a section invalid!");
      return false;
      }
#endif
//M7X0 END AK
   CheckParse();
   return isValid();
}
コード例 #2
0
ファイル: si.c プロジェクト: rofehr/omxhddevice
bool CRCSection::CheckCRCAndParse() {
   if (!isCRCValid())
      return false;
   CheckParse();
   return isValid();
}