mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
'bw' parameter in 'lora config' command has a range of 0 to INT8_MAX. However possible values of 'bw' (125, 250, 500) don't fit this range and we need to extend it to 0 to INT16_MAX. This fix has been tested on custom board with STM32L4 and SX1276. Signed-off-by: Petr Sharshavin <sharshavin@mail.ru>