4 Replies Latest reply on Aug 21, 2014 1:08 PM by userc_6496

    Problem with wiced_queue_t

      Whenever I do a push or pop operation to a queue in SDK 3.0.1, the platform locks up.  Any idea why this might be? My code is below:

       

          static wiced_queue_t slave_queue;

          wiced_rtos_init_queue  (&slave_queue,NULL,10,10);

          WPRINT_APP_INFO(("%d items\n",slave_queue.handle.tx_queue_enqueued));

          WPRINT_APP_INFO(("Pushing\n"));

          wiced_rtos_push_to_queue (&slave_queue, "oh hai    ",200);

          WPRINT_APP_INFO(("%d items\n",slave_queue.handle.tx_queue_enqueued));