commit | 89dc24898cdac4b6a3a93520b4bf72118460d561 | [log] [tgz] |
---|---|---|
author | Enrico Granata <egranata@google.com> | Fri Apr 07 11:36:44 2017 -0700 |
committer | Enrico Granata <egranata@google.com> | Sat Apr 08 00:30:23 2017 +0000 |
tree | 30662f1b49047111ab0b0c625b3907dd08b767d5 | |
parent | e16aa2df82c061f52273981a9205092fafe77f90 [diff] |
Fix bitmask arithmetic to match up with decoding. These changes make it so that sensor values can be properly decoded in CarDiagnosticEvent and make their way to CarDiagnosticManager untampered. Test: ./diagnostic_injector.py diagjson.example Change-Id: Id44d618b06b5945c98c8d1db118bb8689dc1e629