kopia lustrzana https://github.com/SP8EBC/ParaTNC
new way of testing uart
rodzic
3f0c1b4fcd
commit
da092074d0
|
@ -3,8 +3,8 @@
|
|||
|
||||
#include "aprs/ax25.h"
|
||||
|
||||
#define SW_VER "DA02"
|
||||
#define SW_DATE "10022019"
|
||||
#define SW_VER "DA03"
|
||||
#define SW_DATE "13032019"
|
||||
|
||||
#define SYSTICK_TICKS_PER_SECONDS 100
|
||||
#define SYSTICK_TICKS_PERIOD 10
|
||||
|
|
|
@ -187,7 +187,11 @@ main(int argc, char* argv[])
|
|||
#ifdef SERIAL_TX_TEST_MODE
|
||||
while(srl_tx_state != SRL_TX_IDLE);
|
||||
|
||||
GPIOC->ODR = (GPIOC->ODR ^ GPIO_Pin_9);
|
||||
|
||||
if (srl_rx_state == SRL_RX_DONE) {
|
||||
GPIOC->ODR = (GPIOC->ODR ^ GPIO_Pin_8);
|
||||
|
||||
retval = 200;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue