WIO RP2040 Dev Board MQTT client check_msg() delay

The MQTT client method check_msg is supposed to check for a message and return immediately if there is no subscribed message pending. I couldn’t understand why my application was so slow to respond to a message. It turns out the check_msg() has a built in delay of 3000 ms. Can you fix this?

This problem can be demonstrated by a simple mod to your MQTT demo program.