disable CAN when used InputTrigger - shared Pin
This commit is contained in:
parent
b775738e20
commit
f320fb1ca6
@ -105,8 +105,11 @@ void setup()
|
||||
Serial.print("\nGPS-Init done");
|
||||
#endif
|
||||
#ifdef FEATURE_ENABLE_CAN
|
||||
Init_CAN();
|
||||
Serial.print("\nCAN-Init done");
|
||||
if (LubeConfig.SpeedSource != SOURCE_IMPULSE)
|
||||
{
|
||||
Init_CAN();
|
||||
Serial.print("\nCAN-Init done");
|
||||
}
|
||||
#endif
|
||||
|
||||
Serial.print("\nSource-Init done");
|
||||
@ -183,7 +186,10 @@ void loop()
|
||||
Display_Process();
|
||||
#endif
|
||||
#ifdef FEATURE_ENABLE_CAN
|
||||
CAN_Process();
|
||||
if (LubeConfig.SpeedSource != SOURCE_IMPULSE)
|
||||
{
|
||||
CAN_Process();
|
||||
}
|
||||
#endif
|
||||
Button_Process();
|
||||
LED_Process();
|
||||
|
Loading…
x
Reference in New Issue
Block a user