OpenTX 2.0 downloads from Companion should be working now

This commit is contained in:
bsongis
2014-05-20 14:53:59 +02:00
parent a178d6b326
commit 73faca60d7
11 changed files with 118 additions and 138 deletions
-3
View File
@@ -20,7 +20,6 @@
#include "flashinterface.h"
#define VERS_MARK "VERS"
#define SVN_MARK "SVN"
#define DATE_MARK "DATE"
#define TIME_MARK "TIME"
#define BLD_MARK "BLD"
@@ -66,7 +65,6 @@ FlashInterface::FlashInterface(QString fileName):
}
if (flash_size > 0) {
svn = seekLabel(SVN_MARK);
version = seekLabel(VERS_MARK);
date = seekLabel(DATE_MARK);
time = seekLabel(TIME_MARK);
@@ -123,7 +121,6 @@ bool FlashInterface::SeekSplash(QByteArray splash)
bool FlashInterface::SeekSplash(QByteArray sps, QByteArray spe, int size)
{
qDebug() << "Seek";
int start = 0;
while (start>=0) {
start = flash.indexOf(sps, start+1);