Updated scsi_device.ch (just cleanup, no code changes.)

This commit is contained in:
waltje
2017-08-22 02:13:45 -04:00
parent fc5e82e81f
commit c7e56bc05d
2 changed files with 38 additions and 10 deletions

View File

@@ -3,7 +3,9 @@
#include "scsi_disk.h"
#include "cdrom.h"
static uint8_t scsi_null_device_sense[14] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
static uint8_t scsi_null_device_sense[14] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0 };
static void scsi_device_target_command(int lun_type, uint8_t id, uint8_t *cdb)
{
@@ -282,4 +284,4 @@ void scsi_device_command(int cdb_len, uint8_t scsi_id, uint8_t scsi_lun, uint8_t
/* Error (Check Condition) - call the phase callback to complete the command. */
scsi_device_target_phase_callback(lun_type, id);
}
}
}