move tmr_count to mb_comlib.h
a write error fix.
Merge branch 'develop'
Merge branch 'master' of https://github.com/wusunjie/open-modbus