Changeset e2e9ba


Ignore:
Timestamp:
01/12/12 14:27:15 (4 months ago)
Author:
Stefan Persson <stefan.persson@…>
Branches:
('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
Children:
01855cac968f05755723356ac8582602264fbffb
Parents:
3ce58f019fbe42e77592b30166a1f44a732eeee5
git-author:
Stefan Persson <stefan.persson@telldus.se>2012-01-12 14:27:15+01:00
git-committer:
Stefan Persson <stefan.persson@telldus.se>2012-01-12 14:27:15+01:00
Message:

Code cleanup

Location:
telldus-core/service
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • telldus-core/service/TellStick_libftdi.cpp

    r3ce58f re2e9ba  
    217217 
    218218        delete[] tempMessage; 
    219         Log::notice("Message: %s", strMessage.c_str()); 
    220         Log::notice("FWVersion: %d", firmwareVersion()); 
    221         Log::notice("Pid: %X", pid()); 
    222219 
    223220        if(!c){ 
     
    228225        if(strMessage.compare("N+") == 0 && ((pid() == 0x0C31 && firmwareVersion() < 5) || (pid() == 0x0C30 && firmwareVersion() < 6))){ 
    229226                //these firmware versions doesn't implement ack to noop, just check that the noop can be sent correctly 
    230                 Log::warning("Too old firmware, accepting this, just return success"); 
    231227                return TELLSTICK_SUCCESS; 
    232228        } 
     
    234230        if(d->ignoreControllerConfirmation){ 
    235231                //allow TellStick to finish its air-sending 
    236                 Log::warning("Sleeping"); 
    237232                msleep(1000); 
    238233                return TELLSTICK_SUCCESS; 
    239234        } 
    240  
    241         Log::warning("Continuing"); 
    242235 
    243236        int retrycnt = 250; 
     
    246239                ret = ftdi_read_data( &d->ftHandle, &in, 1); 
    247240                if (ret > 0) { 
    248                         Log::warning("%c", in); 
    249241                        if (in == '\n') { 
    250                                 Log::warning("Received an end"); 
    251242                                return TELLSTICK_SUCCESS; 
    252243                        } 
     
    259250        } 
    260251 
    261         Log::warning("Error in communication, retrycount ended"); 
    262252        return TELLSTICK_ERROR_COMMUNICATION; 
    263253} 
  • telldus-core/service/TelldusMain.cpp

    rb84e8b re2e9ba  
    113113                                janitor->popSignal(); 
    114114                        } 
    115                         Log::debug("Do Janitor cleanup"); 
    116115                        controllerManager.queryControllerStatus(); 
    117116                } 
Note: See TracChangeset for help on using the changeset viewer.