Add missing call to setup

This commit is contained in:
Jaakko Haakana 2025-06-06 16:49:11 +03:00
parent 30b4b4b54d
commit d2aff17b3c

View file

@ -6,6 +6,9 @@ CanShunt* shunt = nullptr;
void setup_can_shunt() {
#if defined(CAN_SHUNT_SELECTED) && defined(SELECTED_SHUNT_CLASS)
shunt = new SELECTED_SHUNT_CLASS();
if (shunt) {
shunt->setup();
}
#endif
}