1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| #include "rf_test.h"
|
| void rf_test_start_constant_tone(uint16_t ch)
| {
| uint32_t constant_tone[] = {
| 0x1A080002,
| 0x24080a02,
| 0x00480002,
| 0x00947A02,
| 0x00017402,
| 0x201c7012,
| };
|
| if (ch <= 39) {
| RF_SetChannel(ch);
| }
|
| RF_WriteReg(constant_tone, (sizeof(constant_tone) >> 2));
| }
|
|