Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 754 → Rev 753

/branches/V0.68d Code Redesign killagreg/uart.c
18,12 → 18,6
#include "_Settings.h"
#include "rc.h"
 
#if defined (__AVR_ATmega644__)
#include "ubx.h"
#endif
 
 
 
#define FALSE 0
#define TRUE 1
 
186,11 → 180,6
 
c = UDR0; // catch the received byte
 
// If the ATMEGA644 cpu is used the ublox module should be conneced to rxd of the 1st uart.
// The ATMEGA644p cpu has a 2nd uart to which the ublox is connected.
#if defined (__AVR_ATmega644__)
ubx_parser(c);
#endif
 
if(rxd_buffer_locked) return; // if txd buffer is locked immediately return