Skip to content

Commit 5fe5cee

Browse files
NeroBurnerJF002
authored andcommitted
Add missing nrf_log.h includes shadowed by SystemMonitor.h
Some components were missing a `nrf_log.h` include. This missing include was accidentally provided by the SystemMonitor.h header, which was included by Systemtask.h
1 parent 30797b3 commit 5fe5cee

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/components/ble/AlertNotificationClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <algorithm>
33
#include "components/ble/NotificationManager.h"
44
#include "systemtask/SystemTask.h"
5+
#include <nrf_log.h>
56

67
using namespace Pinetime::Controllers;
78
constexpr ble_uuid16_t AlertNotificationClient::ansServiceUuid;

src/components/ble/DfuService.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "components/ble/BleController.h"
44
#include "drivers/SpiNorFlash.h"
55
#include "systemtask/SystemTask.h"
6+
#include <nrf_log.h>
67

78
using namespace Pinetime::Controllers;
89

src/components/ble/HeartRateService.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "components/ble/HeartRateService.h"
22
#include "components/heartrate/HeartRateController.h"
33
#include "systemtask/SystemTask.h"
4+
#include <nrf_log.h>
45

56
using namespace Pinetime::Controllers;
67

src/components/ble/MotionService.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "components/ble/MotionService.h"
22
#include "components/motion/MotionController.h"
33
#include "systemtask/SystemTask.h"
4+
#include <nrf_log.h>
45

56
using namespace Pinetime::Controllers;
67

src/components/ble/NimbleController.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <cstring>
33

44
#include <hal/nrf_rtc.h>
5+
#include <nrf_log.h>
56
#define min // workaround: nimble's min/max macros conflict with libstdc++
67
#define max
78
#include <host/ble_gap.h>

0 commit comments

Comments
 (0)