Fix logging
This commit is contained in:
@ -412,7 +412,7 @@ class JetSortSimulator:
|
||||
packet = self._create_packet(REPORT_SUB_BATCH, report_data)
|
||||
|
||||
self.serial_conn.write(packet)
|
||||
logger.debug(format_comm_debug("TX", packet[:50]) + "...")
|
||||
logger.debug(format_comm_debug("TX", packet) + "...")
|
||||
logger.info("Report sent successfully")
|
||||
|
||||
# Reset batch counters after sending
|
||||
@ -496,7 +496,7 @@ class JetSortSimulator:
|
||||
if response:
|
||||
self.serial_conn.write(response)
|
||||
logger.debug(
|
||||
f"TX: {' '.join(f'{b:02X}' for b in response[:50])}..."
|
||||
f"TX: {' '.join(f'{b:02X}' for b in response)}..."
|
||||
)
|
||||
|
||||
# Reset batch counters
|
||||
|
||||
Reference in New Issue
Block a user