diff --git a/MainModesArbiter_InitStage.c b/MainModesArbiter_InitStage.c index c1e27b9..ecc4c20 100644 --- a/MainModesArbiter_InitStage.c +++ b/MainModesArbiter_InitStage.c @@ -22,11 +22,14 @@ static void Mma_InitComInt( ) { tSerialPortIO *thisComIntPortIO; - if(GpioPinGet(&env->power.pins->usb)){ - thisComIntPortIO = &env->serialPorts->SerialPortUsbIO; - } else { - thisComIntPortIO = &env->serialPorts->ComIntHalfDuplexIo; - } + thisComIntPortIO = &env->serialPorts->ComIntHalfDuplexIo; + +// if(GpioPinGet(&env->power.pins->usb)){ +// thisComIntPortIO = &env->serialPorts->SerialPortUsbIO; +// } else { +// thisComIntPortIO = &env->serialPorts->ComIntHalfDuplexIo; +// } + // thisComIntPortIO = &env->serialPorts->SerialPortCan2IO; ComInt_Init( &env->comInt,