Fix bitrate being reset to 0
This commit is contained in:
parent
f65b858564
commit
d3c7ea774d
@ -367,7 +367,7 @@ class RNodeMultiInterface(Interface):
|
|||||||
|
|
||||||
interface.OUT = True
|
interface.OUT = True
|
||||||
interface.IN = self.IN
|
interface.IN = self.IN
|
||||||
interface.bitrate = self.bitrate
|
#interface.bitrate = self.bitrate
|
||||||
|
|
||||||
interface.announce_rate_target = self.announce_rate_target
|
interface.announce_rate_target = self.announce_rate_target
|
||||||
#interface.announce_rate_grace = self.announce_rate_grace
|
#interface.announce_rate_grace = self.announce_rate_grace
|
||||||
@ -586,6 +586,8 @@ class RNodeMultiInterface(Interface):
|
|||||||
command == KISS.CMD_INT10_DATA or
|
command == KISS.CMD_INT10_DATA or
|
||||||
command == KISS.CMD_INT11_DATA)):
|
command == KISS.CMD_INT11_DATA)):
|
||||||
in_frame = False
|
in_frame = False
|
||||||
|
# debug
|
||||||
|
RNS.log("Received packet, index being used is: "+str(KISS.int_data_cmd_to_index(command)), RNS.LOG_DEBUG)
|
||||||
self.subinterfaces[KISS.int_data_cmd_to_index(command)].processIncoming(data_buffer)
|
self.subinterfaces[KISS.int_data_cmd_to_index(command)].processIncoming(data_buffer)
|
||||||
data_buffer = b""
|
data_buffer = b""
|
||||||
command_buffer = b""
|
command_buffer = b""
|
||||||
|
Loading…
Reference in New Issue
Block a user