Skip to content

Commit 3b563f5

Browse files
committed
remove useless fast startup mode set
1 parent 6979702 commit 3b563f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ CONFIG_ESB=y
1212
CONFIG_NEWLIB_LIBC=y
1313
CONFIG_CBPRINTF_FP_SUPPORT=y
1414

15+
CONFIG_FPU=y
16+
1517
CONFIG_USB_DEVICE_STACK=y
1618
CONFIG_USB_DEVICE_HID=y
1719
CONFIG_USB_DEVICE_VID=0x1209

src/connection/esb.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ int esb_initialize(bool tx)
170170
config.tx_mode = ESB_TXMODE_MANUAL;
171171
// config.payload_length = 32;
172172
config.selective_auto_ack = true;
173+
// config.use_fast_ramp_up = true;
173174
}
174175
else
175176
{
@@ -184,12 +185,9 @@ int esb_initialize(bool tx)
184185
// config.tx_mode = ESB_TXMODE_AUTO;
185186
// config.payload_length = 32;
186187
config.selective_auto_ack = true;
188+
// config.use_fast_ramp_up = true;
187189
}
188190

189-
// Fast startup mode
190-
NRF_RADIO->MODECNF0 |= RADIO_MODECNF0_RU_Fast << RADIO_MODECNF0_RU_Pos;
191-
// nrf_radio_modecnf0_set(NRF_RADIO, true, 0);
192-
193191
LOG_INF("Initializing ESB, %sX mode", tx ? "T" : "R");
194192
err = esb_init(&config);
195193

0 commit comments

Comments
 (0)