comment out never used

This commit is contained in:
satbaby
2012-08-04 10:03:19 +02:00
parent f8aa4262cb
commit 9124c20f31
26 changed files with 149 additions and 85 deletions

View File

@@ -304,13 +304,15 @@ bool CFlashTool::erase(int globalProgressEnd)
close(fd);
return true;
}
#if 0
//never used
bool CFlashTool::check_cramfs( const std::string & /*filename*/ )
{
int retVal = 0; //cramfs_crc( (char*) filename.c_str() );
printf("flashcheck returned: %d\n", retVal);
return retVal==1;
}
#endif
#define FROMHEX(c) ((c)>='a' ? (c)-'a'+10 : ((c)>='A' ? (c)-'A'+10 : (c)-'0'))
bool CFlashTool::check_md5( const std::string & filename, const std::string & smd5)
{