diff options
| author | Avamander <avamander@gmail.com> | 2020-10-02 19:16:48 (GMT) |
|---|---|---|
| committer | Avamander <avamander@gmail.com> | 2020-10-02 19:16:48 (GMT) |
| commit | 6c86d1d9d706706fcb6f214aba8259e61ed68755 (patch) | |
| tree | 2f4137a9916869cee18fd01449aa83ee586b9604 /src/components/firmwarevalidator/FirmwareValidator.h | |
| parent | 4daab2692692d47af24a9384eb0f402821527882 (diff) | |
Fixed all the includes that were broken due to the renames
Diffstat (limited to 'src/components/firmwarevalidator/FirmwareValidator.h')
| -rw-r--r-- | src/components/firmwarevalidator/FirmwareValidator.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/firmwarevalidator/FirmwareValidator.h b/src/components/firmwarevalidator/FirmwareValidator.h new file mode 100644 index 0000000..aa576d8 --- /dev/null +++ b/src/components/firmwarevalidator/FirmwareValidator.h @@ -0,0 +1,18 @@ +#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}; + }; + } +} |
