Battery-Emulator/Software/src/battery/Shunts.cpp
2025-06-16 08:25:08 +03:00

17 lines
249 B
C++

#include "../include.h"
#include "Shunt.h"
CanShunt* shunt = nullptr;
void setup_can_shunt() {
if (shunt) {
return;
}
#if defined(SELECTED_SHUNT_CLASS)
shunt = new SELECTED_SHUNT_CLASS();
if (shunt) {
shunt->setup();
}
#endif
}