From 15f941e0aaaadf6cd64255516deff8fbec8cead5 Mon Sep 17 00:00:00 2001 From: Eric Helgeson Date: Thu, 6 May 2021 11:49:17 -0500 Subject: [PATCH] Fix var name when *_SPEED_OPTIMIZE is off --- src/BlueSCSI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BlueSCSI.cpp b/src/BlueSCSI.cpp index 28672be..989d3cd 100644 --- a/src/BlueSCSI.cpp +++ b/src/BlueSCSI.cpp @@ -746,7 +746,7 @@ void writeDataPhaseSD(uint32_t adds, uint32_t len) }while(srcptr < endptr); SCSI_DB_INPUT() #else - for(int j = 0; j < BLOCKSIZE; j++) { + for(int j = 0; j < m_img->m_blocksize; j++) { if(m_isBusReset) { return; }