Removed unnecessary debug prints

This commit is contained in:
dario 2024-06-11 10:24:04 +02:00
parent 9fc8bc2b45
commit 8bd5a9d26f

View File

@ -88,7 +88,6 @@ namespace sta
while (left < right)
{
middle = (left + right) / 2;
STA_DEBUG_PRINTF("left=%d, middle=%d, right=%d", left, middle, right);
readData(middle * bytes, buffer, bytes);
if (criterion(buffer))
@ -102,13 +101,11 @@ namespace sta
}
middle = (left + right) / 2;
STA_DEBUG_PRINTLN(middle);
readData(middle * bytes, buffer, bytes);
if (criterion(buffer))
{
middle += 1;
STA_DEBUG_PRINTLN("PLUS ONE");
}
delete[] buffer;