mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
Merge branch 'can-receive' into can-frames
This commit is contained in:
commit
28fe1f3a69
1 changed files with 3 additions and 0 deletions
|
@ -6,5 +6,8 @@ CanShunt* shunt = nullptr;
|
||||||
void setup_can_shunt() {
|
void setup_can_shunt() {
|
||||||
#if defined(SELECTED_SHUNT_CLASS)
|
#if defined(SELECTED_SHUNT_CLASS)
|
||||||
shunt = new SELECTED_SHUNT_CLASS();
|
shunt = new SELECTED_SHUNT_CLASS();
|
||||||
|
if (shunt) {
|
||||||
|
shunt->setup();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue