C API: Digital IO function use stdbool.h

This requirement is already in place and makes the API more consistent
This commit is contained in:
Paul Hollinsky
2021-04-11 20:54:59 -04:00
parent eb5a84132a
commit 9ba21d5dc7
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -613,7 +613,7 @@ int main() {
printf("Select from the following:\n");
printf("[1] Ethernet (DoIP) Activation Line");
uint8_t val;
bool val;
bool haveVal = icsneo_getDigitalIO(selectedDevice, ICSNEO_IO_ETH_ACTIVATION, 1, &val);
if(!haveVal) {
neoevent_t event;