format
This commit is contained in:
parent
2e9042861e
commit
30b5ba9aaa
5 changed files with 236 additions and 236 deletions
|
|
@ -3,18 +3,18 @@
|
|||
#include "LoRaBoards.h"
|
||||
|
||||
#ifndef CONFIG_RADIO_FREQ
|
||||
#define CONFIG_RADIO_FREQ 868.0
|
||||
#define CONFIG_RADIO_FREQ 868.0
|
||||
#endif
|
||||
#ifndef CONFIG_RADIO_OUTPUT_POWER
|
||||
#define CONFIG_RADIO_OUTPUT_POWER 17
|
||||
#define CONFIG_RADIO_OUTPUT_POWER 17
|
||||
#endif
|
||||
#ifndef CONFIG_RADIO_BW
|
||||
#define CONFIG_RADIO_BW 125.0
|
||||
#define CONFIG_RADIO_BW 125.0
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(USING_SX1276) && !defined(USING_SX1278)
|
||||
#error "LoRa example is only allowed to run SX1276/78. For other RF models, please run examples/RadioLibExamples
|
||||
#error "LoRa example is only allowed to run SX1276/78. For other RF models, please run examples/RadioLibExamples
|
||||
#endif
|
||||
|
||||
void setup()
|
||||
|
|
|
|||
|
|
@ -3,18 +3,18 @@
|
|||
#include "LoRaBoards.h"
|
||||
|
||||
#ifndef CONFIG_RADIO_FREQ
|
||||
#define CONFIG_RADIO_FREQ 868.0
|
||||
#define CONFIG_RADIO_FREQ 868.0
|
||||
#endif
|
||||
#ifndef CONFIG_RADIO_OUTPUT_POWER
|
||||
#define CONFIG_RADIO_OUTPUT_POWER 17
|
||||
#define CONFIG_RADIO_OUTPUT_POWER 17
|
||||
#endif
|
||||
#ifndef CONFIG_RADIO_BW
|
||||
#define CONFIG_RADIO_BW 125.0
|
||||
#define CONFIG_RADIO_BW 125.0
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(USING_SX1276) && !defined(USING_SX1278)
|
||||
#error "LoRa example is only allowed to run SX1276/78. For other RF models, please run examples/RadioLibExamples
|
||||
#error "LoRa example is only allowed to run SX1276/78. For other RF models, please run examples/RadioLibExamples
|
||||
#endif
|
||||
|
||||
int counter = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue