Browse Source

feat(kscan_mock): Increase max number of events

This is necessary for testing a large number of events (e.g. every key code) within a single build/pass.

The u8_t limitation became apparent during end-to-end testing of #21.
xmkb
innovaker 4 years ago
parent
commit
9c4b766bc6
  1. 2
      app/src/kscan_mock.c

2
app/src/kscan_mock.c

@ -18,7 +18,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL); @@ -18,7 +18,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
struct kscan_mock_data {
kscan_callback_t callback;
u8_t event_index;
u32_t event_index;
struct k_delayed_work work;
struct device *dev;
};

Loading…
Cancel
Save