Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC3220: [trigger_mode] - NORTOS example

$
0
0

Part Number:CC3220

Hi,

In the trigger_mode example for an nrtos kernel, in the mainThread(), SimpleLinkInitCallback() is called in when sl_Start() finishes.

Inside SimpleLinkInitCallback, SignalEvent() is called that accesses the gSMEventQueue with mq_open() but the queue is not initialised until later in mainThread() with mq_open().

This assumes that the callback is always called after the queue has been initialised, which might not always be the case.

Am I getting something wrong?

Regards,

Evros


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>