mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion/device/exam_mode] Fixed missing parentheses in assertion
Change-Id: If10b6ea98ed224d79cfa50f38f9e229331d0f9f9
This commit is contained in:
committed by
Émilie Feral
parent
0454b65a94
commit
e8505d79e7
@@ -51,7 +51,7 @@ size_t numberOfBitsAfterLeadingZeroes(int i) {
|
||||
uint8_t * SignificantExamModeAddress() {
|
||||
uint32_t * persitence_start_32 = (uint32_t *)&_exam_mode_buffer_start;
|
||||
uint32_t * persitence_end_32 = (uint32_t *)&_exam_mode_buffer_end;
|
||||
assert(persitence_end_32 - persitence_start_32 % 4 == 0);
|
||||
assert((persitence_end_32 - persitence_start_32) % 4 == 0);
|
||||
while (persitence_start_32 < persitence_end_32 && *persitence_start_32 == 0x0) {
|
||||
// Scan by groups of 32 bits to reach first non-zero bit
|
||||
persitence_start_32++;
|
||||
|
||||
Reference in New Issue
Block a user