From a40d52dc054824476d5fc77efdfef5cb14ab3706 Mon Sep 17 00:00:00 2001 From: prplz Date: Sat, 6 Nov 2021 04:55:17 +1100 Subject: [PATCH] Fix documentation mistake (#407) ulTaskNotification -> ulTaskNotify --- .github/lexicon.txt | 1 - include/task.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/lexicon.txt b/.github/lexicon.txt index d92034874..8d0b4cfd7 100644 --- a/.github/lexicon.txt +++ b/.github/lexicon.txt @@ -2338,7 +2338,6 @@ ultablebase ultaskgetidleruntimecounter ultaskgetidleruntimepercent ultaskhasfpucontext -ultasknotificationtakeindexed ultasknotifystateclear ultasknotifytake ultasknotifytakeindexed diff --git a/include/task.h b/include/task.h index fff3ab5b5..ec684c4ca 100644 --- a/include/task.h +++ b/include/task.h @@ -2404,7 +2404,7 @@ BaseType_t xTaskGenericNotifyWait( UBaseType_t uxIndexToWaitOn, * * When task notifications are being used as a binary or counting semaphore * equivalent then the task being notified should wait for the notification - * using the ulTaskNotificationTakeIndexed() API function rather than the + * using the ulTaskNotifyTakeIndexed() API function rather than the * xTaskNotifyWaitIndexed() API function. * * **NOTE** Each notification within the array operates independently - a task @@ -2481,7 +2481,7 @@ BaseType_t xTaskGenericNotifyWait( UBaseType_t uxIndexToWaitOn, * * When task notifications are being used as a binary or counting semaphore * equivalent then the task being notified should wait for the notification - * using the ulTaskNotificationTakeIndexed() API function rather than the + * using the ulTaskNotifyTakeIndexed() API function rather than the * xTaskNotifyWaitIndexed() API function. * * **NOTE** Each notification within the array operates independently - a task