From ed452084fec1d8aea84a1ac3289d291d37a2fb92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elvis=20Pf=C3=BCtzenreuter?= Date: Tue, 6 Aug 2019 19:14:34 -0300 Subject: [PATCH] Apply matrix_scanner attribute instead of fixed class --- kmk/kmk_keyboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmk/kmk_keyboard.py b/kmk/kmk_keyboard.py index 7b1a5cd..5beb7cd 100644 --- a/kmk/kmk_keyboard.py +++ b/kmk/kmk_keyboard.py @@ -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,