From 09ce7b483da1fbbdaf4f0586a2412a76aa9ce240 Mon Sep 17 00:00:00 2001 From: Adam Scislowicz Date: Mon, 16 May 2022 14:26:10 -0700 Subject: [PATCH] switch return type back to int to remove FreeRTOS.h dependency from caller. --- examples/evkbmimxrt1060/test/app_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/evkbmimxrt1060/test/app_main.c b/examples/evkbmimxrt1060/test/app_main.c index fc6cc63..9e9b4ef 100644 --- a/examples/evkbmimxrt1060/test/app_main.c +++ b/examples/evkbmimxrt1060/test/app_main.c @@ -68,7 +68,7 @@ extern void vCLITask( void * pvParam ); extern void vOTAUpdateTask( void * pvParam ); -BaseType_t RunDeviceAdvisorDemo( void ) +int RunDeviceAdvisorDemo( void ) { BaseType_t xResult = pdFAIL; @@ -91,7 +91,7 @@ BaseType_t RunDeviceAdvisorDemo( void ) NULL ); } - return xResult; + return ( xResult == pdPASS ) ? 0 : -1; } int app_main( void )