StroudCenter/Arduino-SDI-12 — pull request #3 by Kevin-M-Smith (2014-02-13 06:41:05+00:00)
Title: Weak Signal Bug Fix

This pull request modifies the setState function. Since the function did not return immediately from the conditional statements, any invocation of the function would inevitably execute the ELSE statement of the final IF(state==LISTENING) which unnecessarily put the pin into the input state and significantly reduced signal strength. This code has been tested and is ready for merging.

Thanks to Gerard Ista and team for debugging the issue.