kevinhikaruevans / blackboard-esp32

Embedded library for the on-board ESP32 on the RealDigital Blackboard
2 stars 1 forks source link

Implement Tx queue #2

Closed kevinhikaruevans closed 4 years ago

kevinhikaruevans commented 4 years ago

Need to prevent things from being sent while it's waiting for a command to finish

kevinhikaruevans commented 4 years ago

Simply blocking in esp32_println will not work as the main loop is required to be free to process incoming data and returning will result in lost data. It needs to implement queue behavior.

Probably do another circular buffer, similar to the rx queue.

kevinhikaruevans commented 4 years ago