Compilation fix

This commit is contained in:
Bertrand Songis
2015-08-11 22:26:43 +02:00
parent 17cb8f9459
commit 51f46d9a69
2 changed files with 5 additions and 1 deletions
-1
View File
@@ -290,7 +290,6 @@ uint32_t telemetryTransmitPending();
void telemetryTransmitBuffer(uint8_t * buffer, uint32_t size);
// Second UART driver
#define serial2TracesEnabled() false
void serial2TelemetryInit(unsigned int protocol);
bool telemetrySecondPortReceive(uint8_t & data);
@@ -64,6 +64,11 @@ void serial2Putc(const char c)
pUart->UART_THR = c;
}
uint8_t serial2TracesEnabled()
{
return false;
}
/**
* Configures a UART peripheral with the specified parameters.
*