diff --git a/python/oc_python.c b/python/oc_python.c index 41334ac8b..611eb938b 100644 --- a/python/oc_python.c +++ b/python/oc_python.c @@ -30,10 +30,10 @@ #include "oc_streamlined_onboarding.h" #endif -#include #if defined(_WIN32) #include #elif defined(__linux__) +#include #include #else #error "Unsupported OS" @@ -2445,7 +2445,11 @@ python_main(void) display_device_uuid(); while (quit != 1) { +#if defined(_WIN32) + Sleep(5); +#elif defined(__linux__) sleep(5); +#endif } #if defined(_WIN32)