Printing the float is not having any safety:
sprintf(smicrosec,"%f",tsecmicro);
Variable smicrosec has the size 18, I assume you wanted to have 10digits . 6digits, but then enforce it because %f can have exponential representation, where the lenght can differ from system to system. Use:
sprintf(smicrosec,"%17.6f",tsecmicro);
Push this as an extra patch to your branch to show in pull request. Also, add the documentation and the PR will be merged.
—
Reply to this email directly or view it on GitHub.