mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
cpu/native: do not exit when real_read returns 0
This commit is contained in:
parent
3eb6c28642
commit
4fae22bf3d
@ -149,6 +149,9 @@ void _native_handle_tap_input(void)
|
||||
err(EXIT_FAILURE, "_native_handle_tap_input: read");
|
||||
}
|
||||
}
|
||||
else if (nread == 0) {
|
||||
DEBUG("_native_handle_tap_input: ignoring null-event\n");
|
||||
}
|
||||
else {
|
||||
errx(EXIT_FAILURE, "internal error _native_handle_tap_input");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user