• You are right, and I was wrong. When I removed volatile in the actual application, the issue was still there. After that, initializing with 1 did fix it in the example as well as in the application (... I hope). Thanks a lot!!

    Probably worth to mention somewhere xd


Avatar for fanoush @fanoush started