Fixed code style and removed forgotten pritf's
This commit is contained in:
parent
79a4fe33a6
commit
c6770112af
@ -415,13 +415,11 @@ set_test_mode(uint8_t enable, uint8_t modulated)
|
||||
was_on = (mode == RADIO_POWER_MODE_ON);
|
||||
off();
|
||||
prev_FRMCTRL0 = REG(RFCORE_XREG_FRMCTRL0);
|
||||
// This constantly transmits random data
|
||||
printf("FRMCTRL0: %08X\n", (unsigned int)prev_FRMCTRL0);
|
||||
/* This constantly transmits random data */
|
||||
REG(RFCORE_XREG_FRMCTRL0) = 0x00000042;
|
||||
if(!modulated) {
|
||||
prev_MDMTEST1 = REG(RFCORE_XREG_MDMTEST1);
|
||||
printf("MDMTEST1: %08X\n", (unsigned int)prev_MDMTEST1);
|
||||
// ...adding this we send an unmodulated carrier instead
|
||||
/* ...adding this we send an unmodulated carrier instead */
|
||||
REG(RFCORE_XREG_MDMTEST1) = 0x00000018;
|
||||
}
|
||||
CC2538_RF_CSP_ISTXON();
|
||||
|
Loading…
Reference in New Issue
Block a user