Stephan3 / dwc2-for-klipper

A translator between DWC2 and Klipper
GNU General Public License v3.0
160 stars 38 forks source link

Fix regex that filter temp status messages #11

Closed danielfmo closed 5 years ago

danielfmo commented 5 years ago

This fix does correctly filter out temperature status messages that in my case were as follows: B:24.2 /0.0 T0:122.7 /205.0

Another alternative for the regex would be: re.match('[BT]\d?:\d+.\d+\s/\d+.\d+', msg)

danielfmo commented 5 years ago
Stephan3 commented 5 years ago

i did the right thing localy and pushed it, this can be closed--