Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix trip distance not shown without current sensor #3163
referenced this pull request
May 5, 2018
fiam left a comment
This is the correct fix, we want to skip OSD_EFFICIENCY_WH_PER_KM when no current sensor is present.
However, this function right now is a total mine field that needs to be tweaked every time we add a new OSD element. I need to profile the element iteration a bit, maybe we can get away with some simpler code.