diff options
author | Purdea Andrei <andrei@purdea.ro> | 2023-12-02 23:50:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 21:50:34 +0000 |
commit | b68e89f8466d6b0f33543a34db84acdbae46f734 (patch) | |
tree | 68bcdccd68d19b34d20f628b96b6d2ba7467ad65 /tests/audio | |
parent | afa0eab37462e9335832190dedd040679d9cb746 (diff) |
Don't print error message when there are no row pins and no col pins (#20104)
* Don't print error message when there are no row pins and no col pins
This error message could be triggered for example if MATRIX_IO_DELAY is
configured in config.h, but the matrix is a custom one. The custom matrix
can still call back to existing delay functions that make use of the
MATRIX_IO_DELAY macro. In this case 'matrix_pins' in info_data will be true,
but there will be no 'direct' 'cols' or 'rows' in info_data['matrix_pins'],
and without this commit it would trigger an invalid error.
* Update lib/python/qmk/info.py
Co-authored-by: Nick Brassel <nick@tzarc.org>
---------
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'tests/audio')
0 files changed, 0 insertions, 0 deletions