diff options
Diffstat (limited to 'chassishandler.cpp')
-rw-r--r-- | chassishandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chassishandler.cpp b/chassishandler.cpp index 068ad89..c9885bd 100644 --- a/chassishandler.cpp +++ b/chassishandler.cpp @@ -54,7 +54,8 @@ namespace filesystem = std::experimental::filesystem; #define SET_PARM_BOOT_FLAGS_VALID_ONE_TIME 0x80 #define SET_PARM_BOOT_FLAGS_VALID_PERMANENT 0xC0 -std::unique_ptr<phosphor::Timer> identifyTimer = nullptr; +std::unique_ptr<phosphor::Timer> identifyTimer + __attribute__((init_priority(101))); constexpr size_t SIZE_MAC = 18; constexpr size_t SIZE_BOOT_OPTION = (uint8_t) |