recvcard: init nrf
This commit is contained in:
parent
eda19fa10c
commit
8513771825
|
@ -24,9 +24,20 @@
|
|||
|
||||
|
||||
uint8_t mac[5] = {1,2,3,2,1};
|
||||
struct NRF_CFG config = {
|
||||
.channel= 81,
|
||||
.txmac= "\x1\x2\x3\x2\x1",
|
||||
.nrmacs=1,
|
||||
.mac0= "\x1\x2\x3\x2\x1",
|
||||
.maclen ="\x20",
|
||||
};
|
||||
|
||||
void ram(void)
|
||||
{
|
||||
memset(0,0,0);
|
||||
nrf_config_set(&config);
|
||||
|
||||
|
||||
if( sendKeys() )
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue