diff --git a/bazaar/Serial/SerialWindows.cpp b/bazaar/Serial/SerialWindows.cpp index 19591bbb9..d12b2d238 100644 --- a/bazaar/Serial/SerialWindows.cpp +++ b/bazaar/Serial/SerialWindows.cpp @@ -356,7 +356,7 @@ namespace Upp req -= count; buf += count; - if(!req || (uint32_t)msecs() > timeout) + if(!req || (uint32_t)msecs() > tim) break; }