static bool SCSI_Command_ModeSense_6(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo)\r
{\r
/* Send an empty header response with the Write Protect flag status */\r
- Endpoint_Write_Byte(0x00);\r
- Endpoint_Write_Byte(0x00);\r
- Endpoint_Write_Byte(DISK_READ_ONLY ? 0x80 : 0x00);\r
- Endpoint_Write_Byte(0x00);\r
+ Endpoint_Write_8(0x00);\r
+ Endpoint_Write_8(0x00);\r
+ Endpoint_Write_8(DISK_READ_ONLY ? 0x80 : 0x00);\r
+ Endpoint_Write_8(0x00);\r
Endpoint_ClearIN();\r
\r
/* Update the bytes transferred counter and succeed the command */\r