mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user