1
0
Fork 0
InfiniTime/src/components/firmwarevalidator/FirmwareValidator.h
2021-04-24 12:00:45 +03: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};
};
}
}