Fix minor build errors.

This commit is contained in:
Dean Camera 2009-05-01 05:20:23 +00:00
parent 58e42c6ca9
commit f05224ec46
2 changed files with 4 additions and 4 deletions

View file

@ -408,7 +408,7 @@ void UpdateStatus(uint8_t CurrentStatus)
*/
void ShowDiskReadError(char* CommandString, bool FailedAtSCSILayer, uint8_t ErrorCode)
{
if (CommandFailed)
if (FailedAtSCSILayer)
{
/* Display the error code */
printf_P(PSTR(ESC_BG_RED "SCSI command error (%S).\r\n"), CommandString);