1
0
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:
Cenk Gündoğan 2015-04-06 10:18:46 +02:00
parent 3eb6c28642
commit 4fae22bf3d

View File

@ -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");
}