DataFlash: Make use of ByteBuffer class

This patch replaces the 'old style' ringbuffer by the ByteBuffer class.
An effort was made to keep the exchange as close as possible from a
drop-in replacement to minimize the risk of introducing bugs.

Although the exchange opens opportunities for improvement and
simplification of this class.
This commit is contained in:
Murilo Belluzzo authored and Andrew Tridgell committed 2016-10-27 14:24:10 +11:00
1 parent 80cf1207b7
commit c112e1c889
2 files changed
+39 -84

No files matched your search

File diff suppressed because it is too large. Load diff