From 7f21e8eb8388c25c7b423fca1de1016528e8a5b8 Mon Sep 17 00:00:00 2001 From: Michael Rink Date: Fri, 4 Sep 2015 17:27:41 +0200 Subject: [PATCH] changed value of RF212_DATA_MODE_DEFAULT to default value of TRX_CTRL_2 --- tos/chips/rf212/RF212DriverLayer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tos/chips/rf212/RF212DriverLayer.h b/tos/chips/rf212/RF212DriverLayer.h index 87ccb0f416..f8d5628a00 100644 --- a/tos/chips/rf212/RF212DriverLayer.h +++ b/tos/chips/rf212/RF212DriverLayer.h @@ -144,7 +144,9 @@ enum rf212_trx_data_modes RF212_DATA_MODE_OQPSK_RC_1000_SCR = 0x3E, RF212_DATA_MODE_OQPSK_RC_1000 = 0x1E, - RF212_DATA_MODE_DEFAULT = 0x00, // BPSK_20 + //register default is PHY mode BPSK-40 + //with OQPSK_SCRAM_EN set to 1 + RF212_DATA_MODE_DEFAULT = 0x24, }; enum rf212_phy_rssi_enums