Skip to content

Conversation

@ravibhagavandas
Copy link
Contributor

Rename parameter uxIndexToNotify to uxIndexToWaitOn

Description

This fixes the bug that, the parameter passed from the macro ulTaskNotifyTakeIndexed to ulTaskGenericNotifyTake() was incorrectly named as uxIndexToNotify.

Test Steps

Enable task notifications array feature in FreeRTOSConfig.h as follows:

#define configUSE_TASK_NOTIFICATIONS 1
#define configTASK_NOTIFICATION_ARRAY_ENTRIES 5

Calling the API ulTaskNotifyTakeIndexed() from the code, will give a compilation error:

 error: ‘uxIndexToNotify’ undeclared (first use in this function)

Related Issue

Issue was referenced in this forum post: https://forums.freertos.org/t/task-h-error-uxindextonotify-undeclared/10689

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ravibhagavandas ravibhagavandas merged commit 31dc8f3 into FreeRTOS:master Sep 17, 2020
@ravibhagavandas ravibhagavandas deleted the fix/tasknotifytake_indexed branch September 17, 2020 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants