From 9904e46b0301e5c5c242e42730ecd09bdc8a845f Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Tue, 10 Jan 2012 18:56:47 +0000 Subject: [PATCH] Davis documentation gives the VP resend code as hex 21, but it's actually decimal 21. Changed to reflect reality. --- bin/weewx/VantagePro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/weewx/VantagePro.py b/bin/weewx/VantagePro.py index 06473ee8..0112c090 100644 --- a/bin/weewx/VantagePro.py +++ b/bin/weewx/VantagePro.py @@ -23,7 +23,7 @@ import weewx.wxformulas # A few handy constants: _ack = chr(0x06) -_resend = chr(0x21) +_resend = chr(0x15) # NB: The Davis documentation gives this code as 0x21, but it's actually decimal 21 class BaseWrapper(object): """Base class for (Serial|Ethernet)Wrapper"""