]> begriffs open source - freertos/commit
Add atomic flag for 16-bit ticks PIC24 (#488)
authorKody Stribrny <89810515+kstribrnAmzn@users.noreply.github.com>
Fri, 15 Apr 2022 15:13:14 +0000 (08:13 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Apr 2022 15:13:14 +0000 (08:13 -0700)
commit15bc8664b5dcc755f55b7931f532c9fc58e991f9
treed9f346127c3567c93b17219b7f9ed3a12ac626b4
parentd5b95c9eda6b557ff88b5b34e889869b66ea1d39
Add atomic flag for 16-bit ticks PIC24 (#488)

This change allows the PIC24 family of
16 bit processors to read the tick count
without a critical section when the tick
count is 16 bits.

Inspired from discussion - https://forums.freertos.org/t/xtaskgettickcount-with-critical-section-on-16-bit-mcu/14860/5
portable/MPLAB/PIC24_dsPIC/portmacro.h