starnight / LoRa

LoRa device driver as a kernel module
Other
131 stars 58 forks source link

Fix loading of bandwidth parameter. #12

Closed FabianInostroza closed 5 years ago

FabianInostroza commented 5 years ago

If you set the bandwidth in the device tree it overrides the carrier frequency.

Note also that currently the bandwidth is not set in the LoRa chip. I added a call to sx127X_set_lorabw() in sx1278_ieee_set_channel() (not included in this PR).

starnight commented 5 years ago

Oh! You fix the bug. Thank you