InfiniSim/sim/components/firmwarevalidator/FirmwareValidator.h

20 lines
335 B
C
Raw Permalink Normal View History

2022-02-16 20:42:29 +00:00
#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};
};
}
}