mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 10:49:42 +02:00
Add missing call to setup
This commit is contained in:
parent
30b4b4b54d
commit
d2aff17b3c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue