Apply matrix_scanner attribute instead of fixed class

This commit is contained in:
Elvis Pfützenreuter 2019-08-06 19:14:34 -03:00
parent 0ed40d3cef
commit ed452084fe

View File

@ -264,7 +264,7 @@ class KMKKeyboard:
else:
self.led = None
self.matrix = MatrixScanner(
self.matrix = self.matrix_scanner(
cols=self.col_pins,
rows=self.row_pins,
diode_orientation=self.diode_orientation,