code: def flush_tx_buffer(self):
          
          log.info('Flushing transmit buffer')
          self._ucan.reset_can(self.channel, ResetFlags.RESET_ONLY_TX_BUFF)
docs: Flushes the transmit buffer.
  
          :raises can.CanError:
              If flushing of the transmit buffer failed.