1
0
forked from me/IronOS
Files
IronOS/workspace/TS100/Core
Paul Fertser 25aee6b661 Move I2CSemaphore creation outside postRToSInit
The code assumes that whenever scheduler is running I2CSemaphore is
available. Initialising it in a task might lead to race conditions and
is also not happening at all if the task is disabled (for debugging or
due to lack of need for a particular usecase).

The race condition can't happen with the current code though, as GUI
task has lower priority than the MOV task, and they're the only tasks
that currently use I2C. However, this might change in the future with
the code refactoring or introduction of new features.
2020-08-26 15:07:13 +03:00
..
2020-08-02 16:36:52 +10:00
2020-08-01 21:16:23 +10:00
2020-08-01 21:16:23 +10:00