Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 753 → Rev 754

/branches/V0.68d Code Redesign killagreg/uart.c
18,6 → 18,12
#include "_Settings.h"
#include "rc.h"
 
#if defined (__AVR_ATmega644__)
#include "ubx.h"
#endif
 
 
 
#define FALSE 0
#define TRUE 1
 
180,6 → 186,11
 
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