mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-06 01:13:55 +00:00
Add encoder abstraction. (#21548)
This commit is contained in:
6
quantum/encoder/tests/config_encoder_common.h
Normal file
6
quantum/encoder/tests/config_encoder_common.h
Normal file
@@ -0,0 +1,6 @@
|
||||
// Copyright 2023 Nick Brassel (@tzarc)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
// Override the one in quantum/util because it doesn't like working on x64 builds.
|
||||
#define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0]))
|
||||
Reference in New Issue
Block a user