1
0
Fork 0
InfiniSim/sim/components/firmwarevalidator/FirmwareValidator.h
2022-02-17 22:57:08 +01:00

19 lines
335 B
C++

#pragma once
#include <cstdint>
namespace Pinetime {
namespace Controllers {
class FirmwareValidator {
public:
void Validate();
bool IsValidated() const;
void Reset();
private:
static constexpr uint32_t validBitAdress {0x7BFE8};
static constexpr uint32_t validBitValue {1};
};
}
}