diff --git a/stm-firmware/boot/startup-tests.c b/stm-firmware/boot/startup-tests.c index 6eacdd8..561ce84 100644 --- a/stm-firmware/boot/startup-tests.c +++ b/stm-firmware/boot/startup-tests.c @@ -27,7 +27,7 @@ uint32_t startup_test_perform_ccm_ram_check(void) word_ptr[idx] = idx & 1 ? 0xAA55AA55UL : 0x55AA55AAUL; } for (idx = 0, word_ptr = (volatile uint32_t *)ccmram_base; idx < ccmram_size / 4U; idx++) { - target_val = idx & 1 ? 0x55AA55AAUL : 0xAA55AA55UL; + target_val = idx & 1 ? 0xAA55AA55UL : 0x55AA55AAUL; if (target_val != word_ptr[idx]) { ret = (uint32_t)&word_ptr[idx]; goto exit_ret_address;