Fix minor build errors.
This commit is contained in:
parent
58e42c6ca9
commit
f05224ec46
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue