use proper enum for default BW
This commit is contained in:
parent
499acd3976
commit
d987072745
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ lora32_cfg_t lora32_create() {
|
||||||
static spi_device_handle_t spi;
|
static spi_device_handle_t spi;
|
||||||
|
|
||||||
return (lora32_cfg_t){
|
return (lora32_cfg_t){
|
||||||
.bandwidth = bandwidths[B125],
|
.bandwidth = B125,
|
||||||
.codingRate = DEFAULT_CR,
|
.codingRate = DEFAULT_CR,
|
||||||
.dio0 = CONFIG_LORA32_DIO0_PIN,
|
.dio0 = CONFIG_LORA32_DIO0_PIN,
|
||||||
.implicitHeader = false,
|
.implicitHeader = false,
|
||||||
|
|
Loading…
Reference in a new issue