add connection_type to dummies
This commit is contained in:
@ -43,23 +43,7 @@ int main(void)
|
||||
sprintf(msgQueueData.driveData.caDriveErrors, "%i", 1);
|
||||
sprintf(msgQueueData.driveData.caDriveShredTimestamp, "%li", 71718LU);
|
||||
sprintf(msgQueueData.driveData.caDriveShredDuration, "%li", 81718LU);
|
||||
/*
|
||||
switch (drive->connectionType)
|
||||
{
|
||||
case Drive::USB:
|
||||
strcpy(msgQueueData.driveData.caDriveConnectionType, "usb");
|
||||
break;
|
||||
case Drive::SATA:
|
||||
strcpy(msgQueueData.driveData.caDriveConnectionType, "sata");
|
||||
break;
|
||||
case Drive::NVME:
|
||||
strcpy(msgQueueData.driveData.caDriveConnectionType, "nvme");
|
||||
break;
|
||||
case Drive::UNKNOWN:
|
||||
default:
|
||||
strcpy(msgQueueData.driveData.caDriveConnectionType, "na");
|
||||
}
|
||||
*/
|
||||
strcpy(msgQueueData.driveData.caDriveConnectionType, "sata");
|
||||
sprintf(msgQueueData.driveData.caDriveReHddVersion, REHDD_VERSION);
|
||||
|
||||
std::cout << "Sending message to queue..." << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user