Northeastern-Electric-Racing / Shepherd-BMS

Our from-scratch Battery Management Application
4 stars 0 forks source link

Remove overloaded Functions in segment interface #50

Closed dyldonahue closed 1 year ago

dyldonahue commented 1 year ago

C++ allows for overloading functions - creating multiple functions of the same name with different parameters. In sgement.c, we do this a few times, i think mainly with like the "is_balancing" functions where u can pass in a specific cell, any cell, etc. We need to change this. Lets keep it simple and just take any overloaded functions and change the name. Make sure you find all refrences to these functions and make needed changes there as well