mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Added error checking for polling
This commit is contained in:
@@ -178,8 +178,7 @@ bool icsneo_enableMessagePolling(const neodevice_t* device) {
|
||||
if(!icsneo_isValidNeoDevice(device))
|
||||
return false;
|
||||
|
||||
device->device->enableMessagePolling();
|
||||
return true;
|
||||
return device->device->enableMessagePolling();
|
||||
}
|
||||
|
||||
bool icsneo_disableMessagePolling(const neodevice_t* device) {
|
||||
|
||||
Reference in New Issue
Block a user