Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineerd committed May 9, 2024
1 parent 598775b commit 4171b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/surf/xilinx/_AxiPciePhy.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def updateLinkStatus(self):

# Capabilities Express Endpoint offset
linkCap = self.DevSpecRegion.value(offset=ptrOffset+0x0C) | (self.DevSpecRegion.value(offset=ptrOffset+0x0D) << 8)
linkStatus = self.DevSpecRegion.value(offset=ptrOffset+0x12] | (self.DevSpecRegion.value(offset=ptrOffset+0x13) << 8)
linkStatus = self.DevSpecRegion.value(offset=ptrOffset+0x12) | (self.DevSpecRegion.value(offset=ptrOffset+0x13) << 8)

# Set the link speed and width capabilities
self.LnkCapSpeed.set( (linkCap>>0) & 0xF )
Expand Down

0 comments on commit 4171b72

Please sign in to comment.