|
48 | 48 | * correct privileged Vs unprivileged linkage and placement. */ |
49 | 49 | #undef MPU_WRAPPERS_INCLUDED_FROM_API_FILE /*lint !e961 !e750 !e9021. */ |
50 | 50 |
|
51 | | -/* Code below here allows infinite loop controlling, especially for the infinite loop |
52 | | - * in idle task function (for example when performing unit tests). */ |
53 | | -#ifndef INFINITE_LOOP |
54 | | - #define INFINITE_LOOP() |
55 | | -#endif |
56 | | - |
57 | 51 | /* Constants used with the cRxLock and cTxLock structure members. */ |
58 | 52 | #define queueUNLOCKED ( ( int8_t ) -1 ) |
59 | 53 | #define queueLOCKED_UNMODIFIED ( ( int8_t ) 0 ) |
@@ -961,7 +955,7 @@ BaseType_t xQueueGenericSend( QueueHandle_t xQueue, |
961 | 955 | /*lint -save -e904 This function relaxes the coding standard somewhat to |
962 | 956 | * allow return statements within the function itself. This is done in the |
963 | 957 | * interest of execution time efficiency. */ |
964 | | - for( ; INFINITE_LOOP(); ) |
| 958 | + for( ; configCONTROL_INFINITE_LOOP(); ) |
965 | 959 | { |
966 | 960 | taskENTER_CRITICAL(); |
967 | 961 | { |
@@ -1525,7 +1519,7 @@ BaseType_t xQueueReceive( QueueHandle_t xQueue, |
1525 | 1519 | /*lint -save -e904 This function relaxes the coding standard somewhat to |
1526 | 1520 | * allow return statements within the function itself. This is done in the |
1527 | 1521 | * interest of execution time efficiency. */ |
1528 | | - for( ; INFINITE_LOOP(); ) |
| 1522 | + for( ; configCONTROL_INFINITE_LOOP(); ) |
1529 | 1523 | { |
1530 | 1524 | taskENTER_CRITICAL(); |
1531 | 1525 | { |
@@ -1681,7 +1675,7 @@ BaseType_t xQueueSemaphoreTake( QueueHandle_t xQueue, |
1681 | 1675 | /*lint -save -e904 This function relaxes the coding standard somewhat to allow return |
1682 | 1676 | * statements within the function itself. This is done in the interest |
1683 | 1677 | * of execution time efficiency. */ |
1684 | | - for( ; INFINITE_LOOP(); ) |
| 1678 | + for( ; configCONTROL_INFINITE_LOOP(); ) |
1685 | 1679 | { |
1686 | 1680 | taskENTER_CRITICAL(); |
1687 | 1681 | { |
@@ -1899,7 +1893,7 @@ BaseType_t xQueuePeek( QueueHandle_t xQueue, |
1899 | 1893 | /*lint -save -e904 This function relaxes the coding standard somewhat to |
1900 | 1894 | * allow return statements within the function itself. This is done in the |
1901 | 1895 | * interest of execution time efficiency. */ |
1902 | | - for( ; INFINITE_LOOP(); ) |
| 1896 | + for( ; configCONTROL_INFINITE_LOOP(); ) |
1903 | 1897 | { |
1904 | 1898 | taskENTER_CRITICAL(); |
1905 | 1899 | { |
|
0 commit comments