recvcard: init nrf

This commit is contained in:
schneider 2011-08-04 00:49:28 +02:00
parent eda19fa10c
commit 8513771825
1 changed files with 11 additions and 0 deletions

View File

@ -24,9 +24,20 @@
uint8_t mac[5] = {1,2,3,2,1}; 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) void ram(void)
{ {
memset(0,0,0);
nrf_config_set(&config);
if( sendKeys() ) if( sendKeys() )
return; return;