daemon: updated wlan config option to use float type for range, instead of string
This commit is contained in:
parent
22e92111d0
commit
49709261fc
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ from typing import TYPE_CHECKING, Callable, Dict, List, Optional, Tuple, Union
|
|||
from core import utils
|
||||
from core.config import (
|
||||
ConfigBool,
|
||||
ConfigFloat,
|
||||
ConfigGroup,
|
||||
ConfigInt,
|
||||
ConfigString,
|
||||
|
@ -280,7 +281,7 @@ class BasicRangeModel(WirelessModel):
|
|||
ConfigInt(id="bandwidth", default="54000000", label="bandwidth (bps)"),
|
||||
ConfigInt(id="jitter", default="0", label="transmission jitter (usec)"),
|
||||
ConfigInt(id="delay", default="5000", label="transmission delay (usec)"),
|
||||
ConfigString(id="error", default="0", label="loss (%)"),
|
||||
ConfigFloat(id="error", default="0.0", label="loss (%)"),
|
||||
ConfigBool(id="promiscuous", default="0", label="promiscuous mode"),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue