use proper enum for default BW

This commit is contained in:
Morgan 'ARR\!' Allen 2020-03-02 21:08:25 -08:00
parent 499acd3976
commit d987072745
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ lora32_cfg_t lora32_create() {
static spi_device_handle_t spi;
return (lora32_cfg_t){
.bandwidth = bandwidths[B125],
.bandwidth = B125,
.codingRate = DEFAULT_CR,
.dio0 = CONFIG_LORA32_DIO0_PIN,
.implicitHeader = false,