From 41c88959d2fe7e161b43d8086563ef08d83680ea Mon Sep 17 00:00:00 2001 From: Chunho Lee Date: Sun, 24 Oct 2021 18:48:48 -0700 Subject: [PATCH] plat: freertos: selectively use old service looping --- lib/plat/freertos/freertos-service.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/plat/freertos/freertos-service.c b/lib/plat/freertos/freertos-service.c index 0732be8bb..41f55fcbe 100644 --- a/lib/plat/freertos/freertos-service.c +++ b/lib/plat/freertos/freertos-service.c @@ -101,9 +101,14 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi) /* * is there anybody with pending stuff that needs service forcing? */ +#if !defined(LWS_AMAZON_RTOS) again: +#endif n = 0; if (lws_service_adjust_timeout(context, 1, tsi)) { +#if defined(LWS_AMAZON_RTOS) +again: +#endif /* LWS_AMAZON_RTOS */ a = 0; if (timeout_us) {