fix bug aiit-arm32-board support sx127x on nuttx

This commit is contained in:
wgz-code
2022-03-14 14:29:44 +08:00
parent acd1cebad3
commit 35f1cc5d88
3 changed files with 130 additions and 2 deletions
@@ -143,7 +143,7 @@ static int sx127x_freq_select(uint32_t freq)
/* Only HF supported (BAND3 - 860-930 MHz) */
if (freq < SX127X_HFBAND_THR)
if (freq > SX127X_HFBAND_THR)
{
ret = -EINVAL;
wlerr("LF band not supported\n");