/branches/V0.1 killagreg/spi_slave.c |
---|
315,15 → 315,6 |
} |
VIC_ITCmd(SSP0_ITLine, ENABLE); // enable SPI interrupt |
/* if (I2C_Heading.Heading <= 359) |
{ |
// nothing? |
} |
else |
{ |
if (I2C_Version.Major != 0xFF) TimerCompassUpdate = SetDelay(1); |
return; |
}*/ |
switch(FromFlightCtrl.Command) |
{ |
/branches/V0.1 killagreg/uart1.c |
---|
452,7 → 452,7 |
{ |
case UART_FLIGHTCTRL: |
//UART2_Init(); // initialize UART2 to FC pins |
//DebugUART = UART2; |
//DebugUART = UART2; |
break; |
case UART_MK3MAG: |
UART0_Connect_to_MK3MAG(); // mux UART0 to MK3MAG pins |