Skip to content

Commit

Permalink
gitHash is 40 element array, not 60 elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Feb 12, 2024
1 parent 993ff07 commit 5fc652c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/driver/axi_version.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void AxiVersion_Read(struct DmaDevice *dev, void * base, struct AxiVersion *aVer

aVer->deviceId = ioread32(&(reg->deviceId));

for (x=0; x < 64; x++)
for (x=0; x < 40; x++)
((uint32_t *)aVer->gitHash)[x] = ioread32(&(reg->gitHash[x]));

for (x=0; x < 4; x++)
Expand Down

0 comments on commit 5fc652c

Please sign in to comment.