Skip to content

Commit

Permalink
Update respondd_client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
T0biii committed May 13, 2024
1 parent d43b6df commit c360426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unifi_respondd/respondd_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,12 @@ def getNodeInfos(self):
@staticmethod
def frequency_from_channel(channel):
if channel >= 36:
return 5000 + (channel - 36) * 5
return 5000 + (channel) * 5
else:
if channel == 14:
return 2484
elif channel < 14:
return 2407 + (channel - 1) * 5
return 2407 + (channel) * 5

def getStatistics(self):
"""This method returns the statistics information of all APs."""
Expand Down

0 comments on commit c360426

Please sign in to comment.