From a7435b85a11f2e7c6d35be585a6fcac976e6362f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Tue, 19 Aug 2025 17:44:25 +0200 Subject: [PATCH] trunk fmt --- src/modules/esp32/ZPSModule.cpp | 8 ++++---- src/modules/esp32/ZPSModule.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/esp32/ZPSModule.cpp b/src/modules/esp32/ZPSModule.cpp index fd5a22155..579158e32 100644 --- a/src/modules/esp32/ZPSModule.cpp +++ b/src/modules/esp32/ZPSModule.cpp @@ -292,10 +292,10 @@ static int ble_gap_event(struct ble_gap_event *event, void *arg) // Adverts matching certain patterns are useless for positioning purposes // (ephemeral MAC etc), so try excluding them if possible // - // TODO: Expand the list of reject patterns for BLE adverts. - // There are likely more than 10 patterns to test and reject, including most Apple devices and others. - // - // TODO: Implement full packet search for reject patterns (use memmem() or similar), + // TODO: Expand the list of reject patterns for BLE adverts. + // There are likely more than 10 patterns to test and reject, including most Apple devices and others. + // + // TODO: Implement full packet search for reject patterns (use memmem() or similar), // not just at the beginning (currently uses memcmp()). const uint8_t rejPat[] = {0x1e, 0xff, 0x06, 0x00, 0x01}; // one of many diff --git a/src/modules/esp32/ZPSModule.h b/src/modules/esp32/ZPSModule.h index 3c2e2e307..10a1d3433 100644 --- a/src/modules/esp32/ZPSModule.h +++ b/src/modules/esp32/ZPSModule.h @@ -71,7 +71,7 @@ class ZPSModule : public SinglePortModule, private concurrency::OSThread inline void outBufAdd(uint64_t netBytes) { - // If this is the first record, initialize the header with the current time and reset the record count. + // If this is the first record, initialize the header with the current time and reset the record count. if (!netRecs) { netData[0] = getTime(); netData[1] = 0;