From 417f39d02a135d6a7c231cde6308781d6a09625b Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 28 May 2020 17:58:08 +0200 Subject: [PATCH] Fixed reference in Python Library --- Libraries/RNode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/RNode.py b/Libraries/RNode.py index d3f3d91..e63e214 100644 --- a/Libraries/RNode.py +++ b/Libraries/RNode.py @@ -310,7 +310,7 @@ class RNodeInterface(): def updateBitrate(self): try: - self.bitrate = self.r_sf * ( (4.0/self.cr) / (math.pow(2,self.r_sf)/(self.r_bandwidth/1000)) ) * 1000 + self.bitrate = self.r_sf * ( (4.0/self.r_cr) / (math.pow(2,self.r_sf)/(self.r_bandwidth/1000)) ) * 1000 self.bitrate_kbps = round(self.bitrate/1000.0, 2) self.log(str(self)+" On-air bitrate is now "+str(self.bitrate_kbps)+ " kbps", RNodeInterface.LOG_DEBUG) except: