TCPMv2: Add new line to TC state query
When CONFIG_USB_PE_SM isn't enable, a new line is added
after the TC state is queried.
BRANCH=none
TEST=make -j buildall
@@ -172,6 +172,8 @@ test_export_static int command_pd(int argc, char **argv)
ccprintf(" PE State: %s, Flags: 0x%04x\n",
pe_get_current_state(port),
pe_get_flags(port));
+ else
+ ccprintf("\n");
}
return EC_SUCCESS;
