add reset function
fix for len=0
Merge branch 'dev' of https://github.com/TETRA2000/WalkingPhone into dev