summaryrefslogtreecommitdiff
path: root/cesar/maximus
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/maximus')
-rw-r--r--cesar/maximus/python/maximus/station/sta.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cesar/maximus/python/maximus/station/sta.py b/cesar/maximus/python/maximus/station/sta.py
index c69f0ebcdb..660459390d 100644
--- a/cesar/maximus/python/maximus/station/sta.py
+++ b/cesar/maximus/python/maximus/station/sta.py
@@ -443,8 +443,9 @@ class STA:
else:
raise TypeError("FR")
- # Send a message to the station to configure the SL
- self.__send_force_role ()
+ # Send a message to the station to configure the FR
+ if force_role > 0:
+ self.__send_force_role ()
def set_tonemask(self, carriers):
"""Set the tonemask.