Configure IFAC size in bits

This commit is contained in:
Mark Qvist 2022-04-28 11:51:04 +02:00
parent 29df5950c8
commit 123fd1de92
1 changed files with 2 additions and 2 deletions

View File

@ -360,8 +360,8 @@ class Reticulum:
ifac_size = None ifac_size = None
if "ifac_size" in c: if "ifac_size" in c:
if c.as_int("ifac_size") >= Reticulum.IFAC_MIN_SIZE: if c.as_int("ifac_size") >= Reticulum.IFAC_MIN_SIZE*8:
ifac_size = c.as_int("ifac_size") ifac_size = c.as_int("ifac_size")//8
ifac_netname = None ifac_netname = None
if "networkname" in c: if "networkname" in c: