[X9D] UART driver renamed, work on debug output

This commit is contained in:
bernet.andre@gmail.com
2013-02-24 12:31:02 +00:00
parent 87105c1268
commit 5def4849fe
5 changed files with 17 additions and 12 deletions
+8 -1
View File
@@ -103,6 +103,13 @@ void configure_pins( uint32_t pins, uint16_t config )
}
#endif
#if defined(DEBUG)
void debugPutc(const char c)
{
uartPutc(c);
}
#endif
uint8_t getTemperature()
{
return temperature + g_eeGeneral.temperatureCalib;
@@ -181,7 +188,7 @@ void boardInit()
delaysInit();
audioInit();
#if defined(DEBUG)
debugInit();
uartInit(DEBUG_UART_BAUDRATE);
#endif
// TODO init_ppm() ;