megakilo / FreeRTOS-Sim

FreeRTOS simulator for POSIX
GNU General Public License v2.0
94 stars 75 forks source link

Death-test fixes #10

Open pboettch opened 6 years ago

pboettch commented 6 years ago

I'm new to FreeRTOS and naturally started using this simulator. When running the test-application I saw that it didn't work for version 10 but was OK for 9.

Here is a fix for that. Please let me know whether this is indeed fixing something or just hiding a porting problem.

In addition, one check was not completely correct (sLastCreationCount was never set to something else than 0). Fixed as well.