diff --git a/main.cpp b/main.cpp index 7eb61a5..2d702e0 100644 --- a/main.cpp +++ b/main.cpp @@ -43,7 +43,6 @@ void main() PieVectTable.TINT0 = &cpu_timer0_isr; PieVectTable.XINT13 = &cpu_timer1_isr; PieVectTable.ECAN0INTA = &cana_isr; - PieVectTable.ECAN1INTA = &cana_box_isr; EDIS; MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart); @@ -57,8 +56,7 @@ void main() IER |= M_INT13; // Enable CPU Interrupt 13 PieCtrlRegs.PIEIER1.bit.INTx7 = 1; - PieCtrlRegs.PIEIER9.bit.INTx5 = 1; // from 5 to 8 - PieCtrlRegs.PIEIER9.bit.INTx6 = 1; + PieCtrlRegs.PIEIER9.bit.INTx5 = 1; // CANA INT0 periphery.config(); periphery.updateVersionFPGA();