Changed access modified indentation

This commit is contained in:
Avamander
2021-04-24 12:00:45 +03:00
parent 40d45d923b
commit 6989854519
84 changed files with 175 additions and 175 deletions

View File

@@ -4,11 +4,11 @@ namespace Pinetime {
namespace Controllers {
/// Direct Form II Biquad Filter
class Biquad {
public:
public:
Biquad(float b0, float b1, float b2, float a1, float a2);
float Step(float x);
private:
private:
float b0;
float b1;
float b2;

View File

@@ -12,7 +12,7 @@ namespace Pinetime {
}
namespace Controllers {
class HeartRateController {
public:
public:
enum class States { Stopped, NotEnoughData, NoTouch, Running };
explicit HeartRateController(System::SystemTask& systemTask);
@@ -31,7 +31,7 @@ namespace Pinetime {
void SetService(Pinetime::Controllers::HeartRateService* service);
private:
private:
System::SystemTask& systemTask;
Applications::HeartRateTask* task = nullptr;
States state = States::Stopped;

View File

@@ -7,7 +7,7 @@
namespace Pinetime {
namespace Controllers {
class Ppg {
public:
public:
explicit Ppg(float spl);
int Preprocess(float spl);
@@ -16,7 +16,7 @@ namespace Pinetime {
void SetOffset(uint16_t i);
void Reset();
private:
private:
std::array<int, 200> data;
size_t dataIndex = 0;
float offset;

View File

@@ -3,11 +3,11 @@
namespace Pinetime {
namespace Controllers {
class Ptagc {
public:
public:
Ptagc(float start, float decay, float threshold);
float Step(float spl);
private:
private:
float peak;
float decay;
float boost;