X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FCommon%2FMinimal%2Fdeath.c;h=aff60e59af6b73ec971ee358874750b9416d31a8;hb=b15dfacb6026af3b0ba697e5753844923b468d2b;hp=d31670f41811e17208100db665c843eae7b5b7d2;hpb=97fffb1d1d396472be491bbdb38503c7dc2ba44d;p=freertos diff --git a/FreeRTOS/Demo/Common/Minimal/death.c b/FreeRTOS/Demo/Common/Minimal/death.c index d31670f41..aff60e59a 100644 --- a/FreeRTOS/Demo/Common/Minimal/death.c +++ b/FreeRTOS/Demo/Common/Minimal/death.c @@ -1,6 +1,6 @@ /* - * FreeRTOS Kernel V10.1.0 - * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * FreeRTOS Kernel V10.3.0 + * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in @@ -98,7 +98,7 @@ TaskHandle_t xTaskToKill; const TickType_t xDelay = pdMS_TO_TICKS( ( TickType_t ) 200 ); /* Test deletion of a task's secure context, if any. */ - portTASK_CALLS_SECURE_FUNCTIONS(); + portALLOCATE_SECURE_CONTEXT( configMINIMAL_SECURE_STACK_SIZE ); if( pvParameters != NULL ) {