File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ static uint32_t flashPageToOffset(uint32_t page) {
47
47
const uint32_t mappingInvalid = 1 << 8 ;
48
48
49
49
printf (" PRO CPU MMU\n " );
50
- for (uint8_t i = 0 ; i < 256 ; i++) {
50
+ for (uint16_t i = 0 ; i < 256 ; i++) {
51
51
if (!(DPORT_PRO_FLASH_MMU_TABLE[i] & mappingInvalid)) {
52
52
addressRange_t addressRange = entryNumberToAddressRange (i);
53
53
printf (" Entry: %2d (0x%8.8x - 0x%8.8x), Page: %d - offset: 0x%x\n " ,
@@ -59,7 +59,7 @@ static uint32_t flashPageToOffset(uint32_t page) {
59
59
}
60
60
printf (" \n " );
61
61
printf (" APP CPU MMU\n " );
62
- for (uint8_t i = 0 ; i < 256 ; i++) {
62
+ for (uint16_t i = 0 ; i < 256 ; i++) {
63
63
if (!(DPORT_APP_FLASH_MMU_TABLE[i] & mappingInvalid)) {
64
64
addressRange_t addressRange = entryNumberToAddressRange (i);
65
65
printf (" Entry: %2d (0x%8.8x - 0x%8.8x), Page: %d - offset: 0x%x\n " ,
You can’t perform that action at this time.
0 commit comments