CTL message queue Event not triggered

Comments

2 comments

  • Avatar
    Paul Curtis

    ...events only get set when the queue becomes non-empty or non-full...  That is, on the transition.  You don't get the non-empty event being set when the queue is already non-empty.

    0
    Comment actions Permalink
  • Avatar
    Peter Lissenburg

    Thanks Paul,

    so if the event gets cleared for some reason and the queue has not been read, I need to poll the queue with

    ctl_message_queue_num_used

    and process what ever is there? Will add the code, but the previous behavior has stopped for some reason :-\

    (sorry for the delay in reply, but I have been distracted by a "hardfault" which I'll post next.)

    Thank you for your time.

    Pete L.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.