[X9D] Telemetry view

SIMU compilation
This commit is contained in:
bernet.andre@gmail.com
2013-02-24 18:06:09 +00:00
parent 38bcc1f29f
commit d1b862a4f3
3 changed files with 27 additions and 1 deletions
+2 -1
View File
@@ -85,13 +85,14 @@ void sportPutc(const char c)
GPIO_ResetBits(GPIO_PIN_SPORT_ON, PIN_SPORT_ON);
}
#if !defined(SIMU)
extern "C" void USART2_IRQHandler()
{
uint16_t data;
while(USART_GetFlagStatus(SPORT, USART_FLAG_RXNE)){
data = USART_ReceiveData(SPORT);
// debugPutc(data);
processSerialData((uint8_t) data);
}
}
#endif