Przeglądaj źródła

Variable style updated

Morio 1 rok temu
rodzic
commit
6a1033abbb

+ 2 - 2
lib/SCSI2SD/src/firmware/scsi.c

@@ -562,14 +562,14 @@ static void process_Command()
 	// on receiving the unit attention response on boot, thus
 	// triggering another unit attention condition.
 	else if (scsiDev.target->unitAttention &&
-		scsiDev.target->unitAttention_stop == 0 &&
+		scsiDev.target->unitAttentionStop == 0 &&
 		((scsiDev.boardCfg.flags & S2S_CFG_ENABLE_UNIT_ATTENTION) ||
 		(scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_EWSD)))
 	{
 		/* EWSD requires unitAttention to be sent only once. */
 		if (scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_EWSD)
 		{
-			scsiDev.target->unitAttention_stop = 1;
+			scsiDev.target->unitAttentionStop = 1;
 		}
 		scsiDev.target->sense.code = UNIT_ATTENTION;
 		scsiDev.target->sense.asc = scsiDev.target->unitAttention;

+ 1 - 1
lib/SCSI2SD/src/firmware/scsi.h

@@ -102,7 +102,7 @@ typedef struct
 	ScsiSense sense;
 
 	uint16_t unitAttention; // Set to the sense qualifier key to be returned.
-	uint8_t unitAttention_stop; // Indicates if unit attention has to be stopped.
+	uint8_t unitAttentionStop; // Indicates if unit attention has to be stopped.
 
 	// Only let the reserved initiator talk to us.
 	// A 3rd party may be sending the RESERVE/RELEASE commands