diff options
| author | Keith Packard <keithp@keithp.com> | 2009-04-17 10:32:45 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-04-17 10:32:45 -0700 |
| commit | 31fce622b1bab7e3f421069d7f6d4d9bdcd825de (patch) | |
| tree | 132fc22dfadf5cb6ce28f410b733ca3d5ff0dbe3 | |
| parent | 293a357911090a2f37bdd6f7ea96942079ffdf2e (diff) | |
Enable FEC in radio packets
| -rw-r--r-- | target/radio/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/radio/init.c b/target/radio/init.c index 6349e16d..c9b3d186 100644 --- a/target/radio/init.c +++ b/target/radio/init.c @@ -117,7 +117,7 @@ static __code uint8_t radio_setup[] = { RF_MDMCFG2_OFF, (RF_MDMCFG2_DEM_DCFILT_OFF | RF_MDMCFG2_MOD_FORMAT_GFSK | RF_MDMCFG2_SYNC_MODE_15_16_THRES), - RF_MDMCFG1_OFF, (RF_MDMCFG1_FEC_DIS | + RF_MDMCFG1_OFF, (RF_MDMCFG1_FEC_EN | RF_MDMCFG1_NUM_PREAMBLE_4 | (2 << RF_MDMCFG1_CHANSPC_E_SHIFT)), RF_MDMCFG0_OFF, (17 << RF_MDMCFG0_CHANSPC_M_SHIFT), |
