digio_prg.h
DIG_IO_ENTRY(bms_in, GPIOC, GPIO8, PinMode::INPUT_FLT) \
to
DIG_IO_ENTRY(bms_in, GPIOC, GPIO8, PinMode::OUTPUT) \
and commented the bms read using this pin in stm32_sine.cpm here to make sure the pin mode wasn't changing dynamically
//Param::SetInt(Param::din_bms, DigIo::bms_in.Get() | ((canio & CAN_IO_BMS) != 0));
S0 and S1 are now cycling through the 4 select states & get a sensible temp reading with standard mapping on HS. Motor temps still wrong, but that's to be expected as those sensors are actually different. I can spend time sorting those

This patch obviously stops use of bms_in on other hardware (and in fact I think bms_in is the actual Tesla platform sense) perhaps if we can let Johannes know, he can put in a sensible mode toggle?