Skip to content

Commit

Permalink
switch return type back to int to remove FreeRTOS.h dependency from c…
Browse files Browse the repository at this point in the history
…aller.
  • Loading branch information
adam-scislowicz committed May 16, 2022
1 parent c0abb5f commit 09ce7b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/evkbmimxrt1060/test/app_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -91,7 +91,7 @@ BaseType_t RunDeviceAdvisorDemo( void )
NULL );
}

return xResult;
return ( xResult == pdPASS ) ? 0 : -1;
}

int app_main( void )
Expand Down

0 comments on commit 09ce7b4

Please sign in to comment.