bugfix in ringbuffers.
Merge branch 'master' of github.com:mbeddr/mbeddr.core