From 8571a5c73542c96b40dbd76eea6c3e30bb1cee76 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Fri, 27 Aug 2021 23:27:34 +0200 Subject: [PATCH] Updated block size handling --- src/raspberrypi/rascsi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raspberrypi/rascsi.cpp b/src/raspberrypi/rascsi.cpp index 93371b0c..9b4ddeb2 100644 --- a/src/raspberrypi/rascsi.cpp +++ b/src/raspberrypi/rascsi.cpp @@ -306,7 +306,7 @@ const PbDevices GetDevices() status->set_locked(device->IsLocked()); const Disk *disk = dynamic_cast(device); - if (disk && disk->IsSectorSizeConfigurable()) { + if (disk) { pbDevice->set_block_size(disk->GetSectorSizeInBytes()); }