fix syntax error in 1wire's ecmd code
closes #340
fix compiler warnings