Return 'TellStick not found' when no controller is connected instead of 'No device found'
This commit is contained in:
parent
20840d5d8b
commit
6d47870856
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ int Client::getController(int *controllerId, int *controllerType, char *name, in
|
|||
|
||||
if (d->controllerCache == L"") {
|
||||
d->controllerCached = false;
|
||||
return TELLSTICK_ERROR_DEVICE_NOT_FOUND;
|
||||
return TELLSTICK_ERROR_NOT_FOUND;
|
||||
}
|
||||
|
||||
int id = Message::takeInt(&d->controllerCache);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue