mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -04:00
vQueueAddToRegistry() now takes a const char * instead of a char *.
tmrCOMMAND_CHANGE_PERIOD_FROM_ISR constant added for the "FromISR" version of the software timer change period API function.
This commit is contained in:
parent
0bf2e615b2
commit
51ea2639a9
5 changed files with 19 additions and 13 deletions
|
@ -167,7 +167,7 @@ typedef struct QueueDefinition
|
|||
more user friendly. */
|
||||
typedef struct QUEUE_REGISTRY_ITEM
|
||||
{
|
||||
char *pcQueueName; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
|
||||
const char *pcQueueName; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
|
||||
QueueHandle_t xHandle;
|
||||
} QueueRegistryItem_t;
|
||||
|
||||
|
@ -2143,7 +2143,7 @@ BaseType_t xReturn;
|
|||
|
||||
#if ( configQUEUE_REGISTRY_SIZE > 0 )
|
||||
|
||||
void vQueueAddToRegistry( QueueHandle_t xQueue, char *pcQueueName ) /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
|
||||
void vQueueAddToRegistry( QueueHandle_t xQueue, const char *pcQueueName ) /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
|
||||
{
|
||||
UBaseType_t ux;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue