furrtek / portapack-havoc

Custom firmware for the HackRF SDR + PortaPack H1 addon
GNU General Public License v2.0
813 stars 221 forks source link

TPMS PSI #250

Open jLynx opened 5 years ago

jLynx commented 5 years ago

Is there a way to change the TPMS receiver to read in PSI instead of kPa? If not, can we have the option to change this?

cyrus104 commented 5 years ago

Great ask!

On Sat, Jul 27, 2019 at 7:58 PM jLynx notifications@github.com wrote:

Is there a way to change the TPMS receiver to read in PSI instead of kPa? If not, can we have the option to change this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/furrtek/portapack-havoc/issues/250?email_source=notifications&email_token=AALWQ4ZVDSPLWGLEN5YNU5LQBTOLVA5CNFSM4IHLCGX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HB35SDA, or mute the thread https://github.com/notifications/unsubscribe-auth/AALWQ46NGTLF5BLIQIJ5CDLQBTOLVANCNFSM4IHLCGXQ .

jLynx commented 5 years ago

I see its in the code https://github.com/furrtek/portapack-havoc/blob/920b98f7c9a30371b643c42949066fb7d2441daf/firmware/common/units.hpp#L46

so I guess it needs to be put on the interface

jLynx commented 5 years ago

Just tested it and it works perfectly! Now I'm not sure how to make it selectable, so if somone can do that, then we can create a pull request to add it to master