Skip to content

Comments on xTaskCreate regarding task priorities are wrong #2

Closed

Description

@joaquimBS

In both Blink_AnalogRead.ino and AnalogRead_DigitalRead.ino, when creating the tasks the comment says:

// Priority, with 1 being the highest, and 4 being the lowest.

This, based to empirical testing, is wrong. Additionally, the FreeRTOS documentation (http://www.freertos.org/RTOS-task-priority.html) says

Low priority numbers denote low priority tasks.

Regards.

Activity

  1. feilipu commented on May 26, 2016

    @feilipu
    Owner

    You are correct.
    My comment in the code is wrong.
    Updated code. Will be fixed in next release.

  2. self-assigned this
    on May 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions