diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-11 13:07:26 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-07-11 13:10:01 -0400 |
commit | e448f2d32be5c1ccac2e015a18ed93e4e1eb7864 (patch) | |
tree | b07baa252766278c8fa569fd096c4ee20f7236bb /app/drivers/zephyr/kscan_gpio_matrix.c | |
parent | c45dbe3c8f0061de364dc49a769a2f4977c13a83 (diff) |
kscan: matrix: Remove verbose logging in read.
Diffstat (limited to 'app/drivers/zephyr/kscan_gpio_matrix.c')
-rw-r--r-- | app/drivers/zephyr/kscan_gpio_matrix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/drivers/zephyr/kscan_gpio_matrix.c b/app/drivers/zephyr/kscan_gpio_matrix.c index 4a1e0bb..8e27712 100644 --- a/app/drivers/zephyr/kscan_gpio_matrix.c +++ b/app/drivers/zephyr/kscan_gpio_matrix.c @@ -128,7 +128,6 @@ static int kscan_gpio_config_interrupts(struct device **devices, bool submit_follow_up_read = false; \ struct kscan_gpio_data_##n *data = dev->driver_data; \ static bool read_state[INST_MATRIX_ROWS(n)][INST_MATRIX_COLS(n)]; \ - LOG_DBG("Scanning the matrix for updated state"); \ /* Disable our interrupts temporarily while we scan, to avoid */ \ /* re-entry while we iterate columns and set them active one by one */ \ /* to get pressed state for each matrix cell. */ \ @@ -268,7 +267,7 @@ static int kscan_gpio_config_interrupts(struct device **devices, }; \ DEVICE_AND_API_INIT(kscan_gpio_##n, DT_INST_LABEL(n), kscan_gpio_init_##n, \ &kscan_gpio_data_##n, &kscan_gpio_config_##n, \ - POST_KERNEL, CONFIG_ZMK_KSCAN_INIT_PRIORITY, \ + APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY, \ &gpio_driver_api_##n); DT_INST_FOREACH_STATUS_OKAY(GPIO_INST_INIT) |