Changed access modified indentation
This commit is contained in:
parent
40d45d923b
commit
6989854519
84 changed files with 175 additions and 175 deletions
|
|
@ -9,18 +9,18 @@ namespace Pinetime {
|
|||
struct FreeRtosMonitor {};
|
||||
|
||||
template <class T> class SystemMonitor {
|
||||
public:
|
||||
public:
|
||||
SystemMonitor() = delete;
|
||||
};
|
||||
|
||||
template <> class SystemMonitor<DummyMonitor> {
|
||||
public:
|
||||
public:
|
||||
void Process() const {
|
||||
}
|
||||
};
|
||||
|
||||
template <> class SystemMonitor<FreeRtosMonitor> {
|
||||
public:
|
||||
public:
|
||||
void Process() const {
|
||||
if (xTaskGetTickCount() - lastTick > 10000) {
|
||||
NRF_LOG_INFO("---------------------------------------\nFree heap : %d", xPortGetFreeHeapSize());
|
||||
|
|
@ -36,7 +36,7 @@ namespace Pinetime {
|
|||
}
|
||||
}
|
||||
|
||||
private:
|
||||
private:
|
||||
mutable TickType_t lastTick = 0;
|
||||
mutable TaskStatus_t tasksStatus[10];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace Pinetime {
|
|||
}
|
||||
namespace System {
|
||||
class SystemTask {
|
||||
public:
|
||||
public:
|
||||
enum class Messages {
|
||||
GoToSleep,
|
||||
GoToRunning,
|
||||
|
|
@ -83,7 +83,7 @@ namespace Pinetime {
|
|||
return nimbleController;
|
||||
};
|
||||
|
||||
private:
|
||||
private:
|
||||
TaskHandle_t taskHandle;
|
||||
|
||||
Pinetime::Drivers::SpiMaster& spi;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue