Optional debug messages at compile time to save FLASH space

This commit is contained in:
Andy CA6JAU 2018-02-16 21:30:30 -03:00
parent 64cad981fa
commit 37724bbabf
16 changed files with 63 additions and 4 deletions

View file

@ -974,6 +974,8 @@ void CIO::updateCal()
setRX();
}
#if defined(ENABLE_DEBUG)
uint32_t CIO::RXfreq()
{
return (uint32_t)((float)(ADF7021_PFD / f_div) * ((float)((32768 * m_RX_N_divider) + m_RX_F_divider) / 32768.0)) + 100000;
@ -1023,3 +1025,5 @@ void CIO::printConf()
}
#endif
#endif