Adding support for P25 wide modulation

This commit is contained in:
Andy CA6JAU 2017-06-01 14:20:37 -04:00
parent 5684499b5f
commit d7a40757d5
3 changed files with 16 additions and 1 deletions

View file

@ -345,7 +345,11 @@ void CIO::ifConf(MMDVM_STATE modemState, bool reset)
ADF7021_REG2 = (uint32_t) 0b10 << 28; // invert data (and RC alpha = 0.5)
ADF7021_REG2 |= (uint32_t) (ADF7021_DEV_P25 / div2) << 19; // deviation
#if defined(ENABLE_P25_WIDE)
ADF7021_REG2 |= (uint32_t) 0b011 << 4; // modulation (4FSK)
#else
ADF7021_REG2 |= (uint32_t) 0b111 << 4; // modulation (RC 4FSK)
#endif
break;
default: