fixing off-by-one error
Merge branch 'master' of https://github.com/Rosnec/RTT