Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

-1 return value isn't handled #70

Open
ghost opened this issue Oct 17, 2015 · 0 comments
Open

-1 return value isn't handled #70

ghost opened this issue Oct 17, 2015 · 0 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Oct 17, 2015

'MassStorageDevice.CheckSCSICommand' returns -1.
This return value is not handled by caller 'MassStorageDevice.SendSCSI_SyncCacheCommand'.

#if MSD_TRACE
                    DBGMSG("Done.");
                    DBGMSG("Check command...");
                    #endif

                    if (!transfer.success || CheckSCSICommand(statusBuffer, 0x35) != 0)
                    {
                        // TODO: Handle failure/timeout
                        #if MSD_TRACE
                        DBGMSG("SCSI SyncCaches (10) (In) command failed!");
                        #endif
                    }
                    #if MSD_TRACE
                    else
                    {
                        DBGMSG("Command OK.");
                        BasicConsole.DelayOutput(1);

at lines 950 - 966

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants