ExpressLRS / Backpack

Firmware for ExpressLRS compatible backpacks
GNU General Public License v3.0
95 stars 69 forks source link

Adding queues for ESP32s #128

Closed i-am-grub closed 8 months ago

i-am-grub commented 8 months ago

The generic race timer backpack in #114 utilizes the espnow send callback function to determine if the sent message was received and will repeat the message if needed (up to a max number of times). Currently, the main loop for HDZero goggles do not clear out the esp32's outgoing serial buffer fast enough for the timer's OSD messages to be processed instantaneously. A few queues are set up to organize the incoming data until the outgoing serial buffer is empty and ready for the next received packet to be processed.