Set correct channel for openbeacon
This commit is contained in:
parent
69907e7d16
commit
718f3fc381
|
@ -90,6 +90,7 @@ uint8_t openbeaconSendPacket(uint32_t id, uint32_t seq,
|
||||||
uint8_t openbeaconSend(void)
|
uint8_t openbeaconSend(void)
|
||||||
{
|
{
|
||||||
uint8_t status;
|
uint8_t status;
|
||||||
|
nrf_set_channel(OPENBEACON_CHANNEL);
|
||||||
nrf_set_strength(strength);
|
nrf_set_strength(strength);
|
||||||
nrf_set_tx_mac(sizeof(mac), mac);
|
nrf_set_tx_mac(sizeof(mac), mac);
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "basic/byteorder.h"
|
#include "basic/byteorder.h"
|
||||||
|
|
||||||
#define OPENBEACON_SAVE 0xFFFF
|
#define OPENBEACON_SAVE 0xFFFF
|
||||||
|
#define OPENBEACON_CHANNEL 81
|
||||||
|
|
||||||
void openbeaconShutdown(void);
|
void openbeaconShutdown(void);
|
||||||
void openbeaconSaveBlock(void);
|
void openbeaconSaveBlock(void);
|
||||||
|
|
Loading…
Reference in New Issue