Apply matrix_scanner attribute instead of fixed class
This commit is contained in:
parent
0ed40d3cef
commit
ed452084fe
@ -264,7 +264,7 @@ class KMKKeyboard:
|
|||||||
else:
|
else:
|
||||||
self.led = None
|
self.led = None
|
||||||
|
|
||||||
self.matrix = MatrixScanner(
|
self.matrix = self.matrix_scanner(
|
||||||
cols=self.col_pins,
|
cols=self.col_pins,
|
||||||
rows=self.row_pins,
|
rows=self.row_pins,
|
||||||
diode_orientation=self.diode_orientation,
|
diode_orientation=self.diode_orientation,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user