Keep USB line coding diagnostic only. Fix cdc connect reconfiguring UART
1
This commit is contained in:
+2
-6
@@ -76,7 +76,7 @@ static int show_status(void)
|
||||
(unsigned int)snapshot.line_coding.data_bits,
|
||||
parity_name(snapshot.line_coding.parity),
|
||||
stop_bits_name(snapshot.line_coding.stop_bits));
|
||||
printf("USB line coding changes RAM only; use 'serial save' to persist it.\n");
|
||||
printf("Host line coding is reported only; UART1 uses the serial configuration.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -110,11 +110,7 @@ static int show_counters(void)
|
||||
counter->writer_denials,
|
||||
counter->writer_revocations,
|
||||
counter->writer_events);
|
||||
printf("Line coding: applied=%" PRIu64 " rejected=%" PRIu64
|
||||
" failed=%" PRIu64 " service-start-failures=%" PRIu64 "\n",
|
||||
counter->line_coding_applied,
|
||||
counter->line_coding_rejected,
|
||||
counter->line_coding_failed,
|
||||
printf("Service start failures=%" PRIu64 "\n",
|
||||
counter->service_start_failures);
|
||||
printf("Control/callback drops: control=%" PRIu64 " callback=%" PRIu64 "\n",
|
||||
counter->control_drops,
|
||||
|
||||
Reference in New Issue
Block a user