repaired merger conflict

This commit is contained in:
2021-01-07 15:56:49 +01:00
parent 826c71e8cc
commit 27c6c5c3f5

View File

@@ -76,7 +76,7 @@ class LedMatrix:
# one step to the east, and then south to north, before thxy e cycle
# starts over.
stride = self.stride
phys_addr = ((x)%self.panelcolumn) + ((y)*self.panelcolumn) + (self.round_down((x)/self.panelcolumn) * self.panelcolumn * self.panelcolumn)
phys_addr = int(((x)%self.panelcolumn) + ((y)*self.panelcolumn) + (self.round_down((x)/self.panelcolumn) * self.panelcolumn * self.panelcolumn))
# if x & 1:
# phys_addr += stride - 1 - y