X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/d5cff25cd14053965fcf072a7109493155a531c3..6c9632ae388b8ceadb00ca981ff7fbd5235ac448:/Bootloaders/Incomplete/MassStorage/Lib/SCSI.c?ds=inline diff --git a/Bootloaders/Incomplete/MassStorage/Lib/SCSI.c b/Bootloaders/Incomplete/MassStorage/Lib/SCSI.c index a79a4688a..154fe4885 100644 --- a/Bootloaders/Incomplete/MassStorage/Lib/SCSI.c +++ b/Bootloaders/Incomplete/MassStorage/Lib/SCSI.c @@ -307,11 +307,8 @@ static bool SCSI_Command_ReadWrite_10(USB_ClassInfo_MS_Device_t* const MSInterfa */ static bool SCSI_Command_ModeSense_6(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo) { - /* Send an empty header response with the Write Protect flag status */ - Endpoint_Write_8(0x00); - Endpoint_Write_8(0x00); - Endpoint_Write_8(0x00); - Endpoint_Write_8(0x00); + /* Send an empty header response indicating Write Protect flag is off */ + Endpoint_Write_32_LE(0); Endpoint_ClearIN(); /* Update the bytes transferred counter and succeed the command */