From a2d079548276206f3800be565c5dae255b295d94 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Mon, 18 Jun 2018 13:51:00 -0400 Subject: [PATCH] Invert POCSAG TX data --- ADF7021.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADF7021.cpp b/ADF7021.cpp index 2fa56fe..5466da1 100644 --- a/ADF7021.cpp +++ b/ADF7021.cpp @@ -333,7 +333,7 @@ void CIO::ifConf(MMDVM_STATE modemState, bool reset) // Register 13 not used with 2FSK ADF7021_REG13 = (uint32_t) 0b1101 << 0; // register 13 - ADF7021_REG2 = (uint32_t) 0b00 << 28; // clock normal + ADF7021_REG2 = (uint32_t) 0b10 << 28; // inverted data, clock normal ADF7021_REG2 |= (uint32_t) (ADF7021_DEV_POCSAG / div2)<< 19; // deviation ADF7021_REG2 |= (uint32_t) 0b000 << 4; // modulation (2FSK) break;