]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/croutine.c
If tickless idle mode is in use then ensure prvResetNextTaskUnblockTime() is called...
[freertos] / FreeRTOS / Source / croutine.c
index 60842018cab8a65928b279b88c9eb3515f29fcdc..565691b4913185f914c94f26047fb666b0aad245 100644 (file)
@@ -1,6 +1,6 @@
 /*\r
- * FreeRTOS Kernel V10.0.0\r
- * Copyright (C) 2017 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
+ * FreeRTOS Kernel V10.2.1\r
+ * Copyright (C) 2019 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
  * this software and associated documentation files (the "Software"), to deal in\r
@@ -10,8 +10,7 @@
  * subject to the following conditions:\r
  *\r
  * The above copyright notice and this permission notice shall be included in all\r
- * copies or substantial portions of the Software. If you wish to use our Amazon\r
- * FreeRTOS name, please do so in a fair use way that does not cause confusion.\r
+ * copies or substantial portions of the Software.\r
  *\r
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
@@ -261,7 +260,7 @@ CRCB_t *pxCRCB;
                                ( void ) uxListRemove( &( pxCRCB->xGenericListItem ) );\r
 \r
                                /* Is the co-routine waiting on an event also? */\r
-                               if( pxCRCB->xEventListItem.pvContainer )\r
+                               if( pxCRCB->xEventListItem.pxContainer )\r
                                {\r
                                        ( void ) uxListRemove( &( pxCRCB->xEventListItem ) );\r
                                }\r