mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2026-04-07 15:23:43 +00:00
Fix serial port bug and several small changes
This commit is contained in:
parent
66fe701251
commit
39de090f19
30 changed files with 103 additions and 51 deletions
|
|
@ -99,21 +99,16 @@ void CIO::Init()
|
|||
pinMode(PIN_P25_LED, OUTPUT);
|
||||
pinMode(PIN_PTT_LED, OUTPUT);
|
||||
pinMode(PIN_COS_LED, OUTPUT);
|
||||
|
||||
}
|
||||
|
||||
void CIO::ifInit()
|
||||
void CIO::startInt()
|
||||
{
|
||||
m_started = true;
|
||||
|
||||
#if defined (__STM32F1__)
|
||||
attachInterrupt(PIN_TXRX_CLK, EXT_IRQHandler, RISING);
|
||||
#else
|
||||
attachInterrupt(digitalPinToInterrupt(PIN_TXRX_CLK), EXT_IRQHandler, RISING);
|
||||
#endif
|
||||
|
||||
ifConf();
|
||||
delay_rx();;
|
||||
setRX();
|
||||
}
|
||||
|
||||
void CIO::SCLK_pin(bool on)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue