diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-06-15 18:10:34 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-06-15 18:10:34 -0400 |
| commit | c91435eff2e0ec0fa92fb383e2e96a18237d5c3f (patch) | |
| tree | b4c6a19d669040cb71f68989f1526277cd3333f9 /shared-module/_bleio | |
| parent | 81896930c7a91447c8830003e8cf92dce28db3d4 (diff) | |
remove debugging prints
Diffstat (limited to 'shared-module/_bleio')
| -rw-r--r-- | shared-module/_bleio/ScanEntry.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/shared-module/_bleio/ScanEntry.c b/shared-module/_bleio/ScanEntry.c index 91712baad..af9e4b347 100644 --- a/shared-module/_bleio/ScanEntry.c +++ b/shared-module/_bleio/ScanEntry.c @@ -66,9 +66,7 @@ bool bleio_scanentry_data_matches(const uint8_t* data, size_t len, const uint8_t i += 1; size_t j = 0; bool prefix_matched = false; - mp_printf(&mp_plat_print,"i %d\n", i); // XXX while (j < len) { - mp_printf(&mp_plat_print," j %d\n", j); // XXX uint8_t structure_length = data[j]; j += 1; if (structure_length == 0) { @@ -79,20 +77,17 @@ bool bleio_scanentry_data_matches(const uint8_t* data, size_t len, const uint8_t return true; } prefix_matched = true; - mp_printf(&mp_plat_print," match\n"); // XXX break; } j += structure_length; } // If all (!any), the current prefix must have matched at least one field. if (!prefix_matched && !any) { - mp_printf(&mp_plat_print,"<prefix not matched\n"); // XXX return false; } i += prefix_length; } // All prefixes matched some field (if !any), or none did (if any). - mp_printf(&mp_plat_print,"<all matched\n"); // XXX return !any; } |
