Commit e912f423f658e1854b96b3d9ce0bf41b9b06c202
1 parent
717e403d
Urgent fix
Showing
4 changed files
with
6 additions
and
4 deletions
Show diff stats
... | ... | @@ -51,12 +51,12 @@ int tempCons; |
51 | 51 | |
52 | 52 | void setPumpOn() |
53 | 53 | { |
54 | - pumped = 0; | |
55 | 54 | setPumpWantedState(true); |
56 | 55 | } |
57 | 56 | |
58 | 57 | void setPumpOff() |
59 | 58 | { |
59 | + pumped = 0; | |
60 | 60 | setPumpWantedState(false); |
61 | 61 | } |
62 | 62 | |
... | ... | @@ -142,7 +142,7 @@ void* processHVC(void* we) |
142 | 142 | |
143 | 143 | while(!hvcStop) |
144 | 144 | { |
145 | - printx(DEBUG, HVC, "Querying data\n"); | |
145 | + printx(DEBUG, HVC, "Querying data, with prev PUMP %d\n", pumped); | |
146 | 146 | sendData(&hvc_fd, GET_TEMP); |
147 | 147 | data = getData(&hvc_fd); |
148 | 148 | setTemp(data); | ... | ... |