Aaron Wisner

Results 63 comments of Aaron Wisner

Awesome, glad to here! Thanks for the testing. Would you be willing to include your test program as an example? Might be helpful to others to understand how everything works.

So if line 69 is commented out, you get garbage?

Thanks for this awesome bug find, it turned out to be a weird race condition that in some cases would cause a uint32_t to overflow in the reverse direction depending...

I probably will at some point. The dev branch already uses it, but it is not heavily tested. You could also try the dev version of https://github.com/wizard97/Embedded_RingBuf_CPP/tree/dev.

Use just the dev branch, the v2dev has some questionable additions from someone else that I am still considering whether are worthwhile.

This version currently does not have that behavior, but I would definitely see the use case for this. Maybe this will fit your needs? https://github.com/wizard97/Embedded_RingBuf_CPP/issues/12

I don't currently have plans to add it, but you are welcome to add it in and submit a pull request.

I made both of these projects, they both do the same thing. This one uses only C, the other one takes advantage of C++ features. I think it will just...

Hi take a look at https://github.com/wizard97/Embedded_RingBuf_CPP/tree/dev The dev and dev2 branch uses my SimplyAtomic library which has untested support for the ESP32.

Yeah, this has been in the pipeline for a while. A while ago, there was some work on the 2.0 branch https://github.com/wizard97/ArduinoProcessScheduler/tree/2.0 to replace RingBuf with the CPP version. I...