Add timing to hw ping, reduce sleep to 1ms in WaitForResponse, no impact on CPU

This commit is contained in:
Philippe Teuwen committed 2023-10-20 00:36:46 +02:00
1 parent 31bc88f684
commit b9ae38f888
2 files changed
+10 -3

No files matched your search

+1 -1
View File
@@ -802,7 +802,7 @@ bool WaitForResponseTimeoutW(uint32_t cmd, PacketResponseNG *response, size_t ms
show_warning = false;
}
// just to avoid CPU busy loop:
msleep(10);
msleep(1);
}
return false;
}