Skip to content

Commit

Permalink
Merge pull request wolfSSL#482 from bigbrett/aurix-hotfixes
Browse files Browse the repository at this point in the history
Fix AURIX build error
  • Loading branch information
dgarske authored Jul 31, 2024
2 parents 2149646 + 161f06e commit 4d18fe8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hal/aurix_tc3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,13 @@ static void RAMFUNCTION programCachedSector(uint32_t sectorAddress,
for (offset = 0;
offset < IFXFLASH_PFLASH_BURST_LENGTH / (2 * sizeof(uint32_t));
offset++) {
bufferIndex =
bufferIdx =
burstIdx * (IFXFLASH_PFLASH_BURST_LENGTH / sizeof(uint32_t))
+ (offset * 2);

IfxFlash_loadPage2X32(UNUSED_PARAMETER,
sectorBuffer[bufferIndex],
sectorBuffer[bufferIndex + 1]);
sectorBuffer[bufferIdx],
sectorBuffer[bufferIdx + 1]);
}

/* Write the page */
Expand Down

0 comments on commit 4d18fe8

Please sign in to comment.