Skip to content

Commit 7593b3b

Browse files
committed
[bootloader] Fix E16 reading
E16 uses fewer keys in its header, which causes E16 to not be read in the bootloader menu. We fix this by only checking the header magic in userlandHeader.
1 parent a21f814 commit 7593b3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bootloader/userland_header.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ const char * UserlandHeader::version() const {
99
return m_expectedEpsilonVersion;
1010
}
1111

12+
//verifying only first Magic allow to display version such as E16 with older UserlandHeader Layout
1213
const bool UserlandHeader::isValid() const {
13-
return m_header == Magic && m_footer == Magic;
14+
return m_header == Magic;
1415
}
1516

1617
const bool UserlandHeader::isOmega() const {

0 commit comments

Comments
 (0)