Fix error
This commit is contained in:
parent
43bcc3ba53
commit
b79b60976a
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue