Skip to content

Commit c91435e

Browse files
committed
remove debugging prints
1 parent 8189693 commit c91435e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

shared-module/_bleio/ScanEntry.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ bool bleio_scanentry_data_matches(const uint8_t* data, size_t len, const uint8_t
6666
i += 1;
6767
size_t j = 0;
6868
bool prefix_matched = false;
69-
mp_printf(&mp_plat_print,"i %d\n", i); // XXX
7069
while (j < len) {
71-
mp_printf(&mp_plat_print," j %d\n", j); // XXX
7270
uint8_t structure_length = data[j];
7371
j += 1;
7472
if (structure_length == 0) {
@@ -79,20 +77,17 @@ bool bleio_scanentry_data_matches(const uint8_t* data, size_t len, const uint8_t
7977
return true;
8078
}
8179
prefix_matched = true;
82-
mp_printf(&mp_plat_print," match\n"); // XXX
8380
break;
8481
}
8582
j += structure_length;
8683
}
8784
// If all (!any), the current prefix must have matched at least one field.
8885
if (!prefix_matched && !any) {
89-
mp_printf(&mp_plat_print,"<prefix not matched\n"); // XXX
9086
return false;
9187
}
9288
i += prefix_length;
9389
}
9490
// All prefixes matched some field (if !any), or none did (if any).
95-
mp_printf(&mp_plat_print,"<all matched\n"); // XXX
9691
return !any;
9792
}
9893

0 commit comments

Comments
 (0)