mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/driver-w25qxxx.git
synced 2025-06-12 03:25:58 +00:00
Removed unnecessary debug prints
This commit is contained in:
parent
9fc8bc2b45
commit
8bd5a9d26f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user