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");
|
Serial.print("\nGPS-Init done");
|
||||||
#endif
|
#endif
|
||||||
#ifdef FEATURE_ENABLE_CAN
|
#ifdef FEATURE_ENABLE_CAN
|
||||||
Init_CAN();
|
if (LubeConfig.SpeedSource != SOURCE_IMPULSE)
|
||||||
Serial.print("\nCAN-Init done");
|
{
|
||||||
|
Init_CAN();
|
||||||
|
Serial.print("\nCAN-Init done");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Serial.print("\nSource-Init done");
|
Serial.print("\nSource-Init done");
|
||||||
@ -183,7 +186,10 @@ void loop()
|
|||||||
Display_Process();
|
Display_Process();
|
||||||
#endif
|
#endif
|
||||||
#ifdef FEATURE_ENABLE_CAN
|
#ifdef FEATURE_ENABLE_CAN
|
||||||
CAN_Process();
|
if (LubeConfig.SpeedSource != SOURCE_IMPULSE)
|
||||||
|
{
|
||||||
|
CAN_Process();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
Button_Process();
|
Button_Process();
|
||||||
LED_Process();
|
LED_Process();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user