Add some output to see if start of the update tool is configured correctly.
This commit is contained in:
		@@ -750,6 +750,8 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) {
 | 
			
		||||
                + " IS MASTER, BUT ATB-UPDATE-TOOL CALLED WITH libCAmaster.so");
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
        Utils::printInfoMsg(
 | 
			
		||||
            QString("ATB-UPDATE-TOOL STARTED AS SLAVE OF ") + parentName);
 | 
			
		||||
    } else
 | 
			
		||||
    if (Utils::isATBQTRunning()) {  // manual testing
 | 
			
		||||
        if (m_pluginName.contains("master", Qt::CaseInsensitive)) {
 | 
			
		||||
@@ -757,12 +759,15 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) {
 | 
			
		||||
                "ATBQT IS MASTER, BUT ATB-UPDATE-TOOL CALLED WITH libCAmaster.so");
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
        Utils::printInfoMsg(
 | 
			
		||||
            "ATB-UPDATE-TOOL STARTED AS SLAVE-SIBLING OF ATBQT-MASTER");
 | 
			
		||||
    } else {
 | 
			
		||||
        if (m_pluginName.contains("slave", Qt::CaseInsensitive)) {
 | 
			
		||||
            Utils::printCriticalErrorMsg(
 | 
			
		||||
                "ATB-UPDATE-TOOL CALLED WITH libCAslave.so ALTHOUGH MASTER");
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
        Utils::printInfoMsg("ATB-UPDATE-TOOL STARTED AS MASTER");
 | 
			
		||||
 | 
			
		||||
        if ((serialOpened = openSerial(baudrateMap.value(m_baudrate),
 | 
			
		||||
                                       m_baudrate,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user