diff --git a/Software/src/battery/Shunts.cpp b/Software/src/battery/Shunts.cpp index a95ca82e..f572a201 100644 --- a/Software/src/battery/Shunts.cpp +++ b/Software/src/battery/Shunts.cpp @@ -6,5 +6,8 @@ CanShunt* shunt = nullptr; void setup_can_shunt() { #if defined(SELECTED_SHUNT_CLASS) shunt = new SELECTED_SHUNT_CLASS(); + if (shunt) { + shunt->setup(); + } #endif }