From f03642331f1028bdeba1c24bc5d9bd65b42c7603 Mon Sep 17 00:00:00 2001 From: Davide Grohmann Date: Thu, 16 Jun 2022 17:42:58 +0200 Subject: Add linux_driver_stack tests Change-Id: I303f1424eb46576847312672f7ed5ac03c05aee1 --- driver_library/src/ethosu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver_library/src/ethosu.cpp') diff --git a/driver_library/src/ethosu.cpp b/driver_library/src/ethosu.cpp index 662fed7..16b9654 100644 --- a/driver_library/src/ethosu.cpp +++ b/driver_library/src/ethosu.cpp @@ -489,7 +489,7 @@ bool Inference::wait(int64_t timeoutNanos) const { // if timeout negative wait forever if (timeoutNanos < 0) { - return eppoll(&pfd, 1, NULL, NULL); + return eppoll(&pfd, 1, NULL, NULL) == 0; } struct timespec tmo_p; -- cgit v1.2.1