Fix error

This commit is contained in:
Mike Cifelli 2021-06-17 09:11:22 -04:00
parent 43bcc3ba53
commit b79b60976a
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ class SystemStatus:
self.hat.set_rotation(90) self.hat.set_rotation(90)
self.width, self.height = self.hat.get_shape() self.width, self.height = self.hat.get_shape()
self.cpuStartColumn = 0 self.cpuStartColumn = 0
self.cpuEndColumn = self.width / 2 - 1 self.cpuEndColumn = int(self.width / 2) - 1
self.tempStartColumn = self.width / 2 + 1 self.tempStartColumn = int(self.width / 2) + 1
self.tempEndColumn = self.width - 1 self.tempEndColumn = self.width - 1
def display(self): def display(self):