Bugfix, returned the wrong type in Device::methodId()
This commit is contained in:
parent
5c5cac6e1d
commit
0faba7cdae
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ int Device::dim(unsigned char level){
|
|||
return TELLSTICK_ERROR_METHOD_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
bool Device::methodId( const std::string &methodName ) {
|
||||
int Device::methodId( const std::string &methodName ) {
|
||||
if (methodName.compare("turnon") == 0) {
|
||||
return TELLSTICK_TURNON;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue