Improving ADF7021 interface, fixing small bugs

This commit is contained in:
Andy CA6JAU 2017-02-07 13:24:03 -03:00
parent 83d1916b11
commit fc0d47af0a
6 changed files with 55 additions and 43 deletions

View file

@ -70,12 +70,15 @@ extern "C" {
}
void CIO::delay_rx() {
delayMicroseconds(1);
#if defined (__STM32F1__)
delayMicroseconds(290);
#else
delayMicroseconds(150);
#endif
}
void CIO::dlybit(void)
{
volatile unsigned int delay;
delayMicroseconds(1);
}