mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Added functionality to set blocking behavior of write
This commit is contained in:
@@ -437,6 +437,13 @@ bool icsneo_transmitMessages(const neodevice_t* device, const neomessage_t* mess
|
||||
return true;
|
||||
}
|
||||
|
||||
void icsneo_setWriteBlocks(const neodevice_t* device, bool blocks) {
|
||||
if(!icsneo_isValidNeoDevice(device))
|
||||
return;
|
||||
|
||||
device->device->com->setWriteBlocks(blocks);
|
||||
}
|
||||
|
||||
bool icsneo_describeDevice(const neodevice_t* device, char* str, size_t* maxLength) {
|
||||
// TAG String copy function
|
||||
if(maxLength == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user