Commit 19752cd144d2de81cfcd2e2a48b86d73f2dcf5c8
1 parent
cc4c9865ee
Exists in
main
hide debugging info in alarmist with dprint
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
ssa/alarm/alarmist.py
View file @
19752cd
... | ... | @@ -169,10 +169,10 @@ |
169 | 169 | if max_bearing > ambient + ambient_delta: |
170 | 170 | bearing_temperature_warning = True |
171 | 171 | |
172 | - print( | |
172 | + dprint( | |
173 | 173 | f"State: paddle_on: {paddle_on}, paddle_moving: {paddle_moving}, coolant_on: {coolant_on}" |
174 | 174 | ) |
175 | - print(f"Ambient temperature: {ambient}C Hottest bearing: {max_bearing}C") | |
175 | + dprint(f"Ambient temperature: {ambient}C Hottest bearing: {max_bearing}C") | |
176 | 176 | |
177 | 177 | # |
178 | 178 | # run checks to throw alarms |