Compare commits

...

2 Commits

2 changed files with 7 additions and 7 deletions

View File

@ -25,8 +25,8 @@ contains( CONFIG, DesktopLinux ) {
}
contains( CONFIG, PTU5 ) {
QMAKE_CC = ccache $$QMAKE_CC
QMAKE_CXX = ccache $$QMAKE_CXX
# QMAKE_CC = ccache $$QMAKE_CC
# QMAKE_CXX = ccache $$QMAKE_CXX
QMAKE_CXXFLAGS += -std=c++11
linux-clang { QMAKE_CXXFLAGS += -Qunused-arguments }
CONFIG += link_pkgconfig
@ -35,7 +35,6 @@ contains( CONFIG, PTU5 ) {
# NOTE: include contents of DCPlugin.pri. Also used by ATBQT.
# Add new files in DCPlugin.pri.
include(DCPlugin.pri)
}
contains( CONFIG, PTU5_YOCTO ) {

View File

@ -2839,9 +2839,9 @@ void hwapi::bl_rebootDC(void) const
sendWRcmd_setSendBlock160(len, buf);
}
void hwapi::bl_startBL(void) const
{
void hwapi::bl_startBL(void) const {
uint8_t len, buf[20];
memset(buf, 0x00, sizeof(buf));
len=dcBL_activatBootloader(buf);
sendWRcmd_setSendBlock160(len, buf);
@ -2861,9 +2861,10 @@ bool hwapi::bl_checkBL(void) const
bool hwapi::bl_isUp(void) const
{
uint8_t receivedData[160];
uint8_t LL, nn;
uint8_t LL;
memset(receivedData, 0x00, sizeof(receivedData));
for (nn=0; nn<160; nn++) receivedData[nn]=0;
LL=epi_getRawRecLength();
if (LL>0)
{