Changeset 915d47


Ignore:
Timestamp:
01/12/12 14:59:29 (4 months ago)
Author:
Stefan Persson <stefan.persson@…>
Branches:
('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
Children:
d326331538b646bc02f6b87b9391500238901a94
Parents:
46d70ad4515a3d73d7e2f1680a0ee348b65ee2fd
git-author:
Stefan Persson <stefan.persson@telldus.se>2012-01-12 14:59:29+01:00
git-committer:
Stefan Persson <stefan.persson@telldus.se>2012-01-12 14:59:29+01:00
Message:

Changed reset method for in ftd2xx for non-windows platforms.

File:
1 edited

Legend:

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

    rc52722 r915d47  
    163163 
    164164int TellStick::reset(){ 
     165#ifndef _WINDOWS 
     166        return TELLSTICK_SUCCESS; //nothing to be done on other platforms 
     167#else 
    165168        int success = FT_CyclePort( d->ftHandle ); 
    166169        if(success == FT_OK){ 
    167                 return success; 
     170                return TELLSTICK_SUCCESS; 
    168171        } 
    169172        return TELLSTICK_ERROR_UNKNOWN; 
     173#endif 
    170174} 
    171175 
Note: See TracChangeset for help on using the changeset viewer.