FIT checksum bugfix

- and small refactorings
This commit is contained in:
Nikolaj Schlej 2016-07-18 06:49:31 +02:00
parent f90427229d
commit 03567dbe66
3 changed files with 13 additions and 14 deletions

View file

@ -64,7 +64,7 @@ int main(int argc, char *argv[])
std::vector<std::vector<QString> > fitTable = ffsParser.getFitTable();
if (fitTable.size()) {
std::cout << "-------------------------------------------------------------------" << std::endl;
std::cout << " Address | Size | Ver | CS | Type " << std::endl;
std::cout << " Address | Size | Ver | CS | Type " << std::endl;
std::cout << "-------------------------------------------------------------------" << std::endl;
for (size_t i = 0; i < fitTable.size(); i++) {
std::cout << fitTable[i][0].toLatin1().constData() << " | "