some tiny tweaks

This commit is contained in:
Robin Müller 2023-10-01 14:48:41 +02:00
parent 157d904794
commit 922631022c
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 0 additions and 2 deletions

View File

@ -28,7 +28,6 @@ impl<TmError, TcError: 'static> TcpTcParser<TmError, TcError> for CobsTcParser {
current_write_idx: usize,
next_write_idx: &mut usize,
) -> Result<(), TcpTmtcError<TmError, TcError>> {
// Reader vec full, need to parse for packets.
conn_result.num_received_tcs += parse_buffer_for_cobs_encoded_packets(
&mut tc_buffer[..current_write_idx],
tc_receiver.upcast_mut(),

View File

@ -139,7 +139,6 @@ pub struct TcpTmtcGenericServer<
TmSender: TcpTmSender<TmError, TcError>,
TcParser: TcpTcParser<TmError, TcError>,
> {
// base: TcpTmtcServerBase<TmError, TcError>,
pub(crate) listener: TcpListener,
pub(crate) inner_loop_delay: Duration,
pub(crate) tm_source: TmSource,