/* Displays a PIMA command error via the device's serial port. */
void ShowCommandError(uint8_t ErrorCode, bool ResponseCodeError)
/* Displays a PIMA command error via the device's serial port. */
void ShowCommandError(uint8_t ErrorCode, bool ResponseCodeError)
{
	const char* FailureType = ((ResponseCodeError) ? PSTR("Response Code != OK") : PSTR("Transaction Fail"));
	printf_P(PSTR(ESC_FG_RED "Command Error (%S).\r\n"
	                         " -- Error Code %d\r\n" ESC_FG_WHITE), FailureType, ErrorCode);
	LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
}