mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Allow SF smaller than 7 to be saved
This commit is contained in:
parent
91e9fcea4b
commit
16c294ce60
2 changed files with 3 additions and 3 deletions
|
|
@ -1128,7 +1128,7 @@ void MyMesh::handleCmdFrame(size_t len) {
|
|||
uint8_t sf = cmd_frame[i++];
|
||||
uint8_t cr = cmd_frame[i++];
|
||||
|
||||
if (freq >= 300000 && freq <= 2500000 && sf >= 7 && sf <= 12 && cr >= 5 && cr <= 8 && bw >= 7000 &&
|
||||
if (freq >= 300000 && freq <= 2500000 && sf >= 5 && sf <= 12 && cr >= 5 && cr <= 8 && bw >= 7000 &&
|
||||
bw <= 500000) {
|
||||
_prefs.sf = sf;
|
||||
_prefs.cr = cr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue