fixed a bug to check for empty transmit buffer
Merge branch 'master' of https://github.com/naiad-auv/naiad-auv-software