remove obsolete tx_get method

This commit is contained in:
Stefan Allius
2024-10-10 00:30:10 +02:00
parent 724f6f3b22
commit a4acddd769
2 changed files with 0 additions and 9 deletions

View File

@@ -23,11 +23,6 @@ class AsyncIfc(ABC):
''' send transmit queue and clears it'''
pass # pragma: no cover
@abstractmethod
def tx_get(self, size: int = None) -> bytearray:
'''removes size numbers of bytes and return them'''
pass # pragma: no cover
@abstractmethod
def tx_peek(self, size: int = None) -> bytearray:
'''returns size numbers of byte without removing them'''

View File

@@ -56,10 +56,6 @@ class AsyncIfcImpl(AsyncIfc):
''' send transmit queue and clears it'''
self.tx_fifo()
def tx_get(self, size: int = None) -> bytearray:
'''removes size numbers of bytes and return them'''
return self.tx_fifo.get(size)
def tx_peek(self, size: int = None) -> bytearray:
'''returns size numbers of byte without removing them'''
return self.tx_fifo.peek(size)