forked from mirrors/qmk_userspace
FIx ARRAYSIZE def and Murphpad string array (#18392)
Co-authored-by: Jonavin <=>
This commit is contained in:
parent
c56dc9c0bb
commit
c6ff10a257
2 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#pragma once
|
||||
|
||||
// DEFINE MACROS
|
||||
#ifndef ARRAYSIZE
|
||||
#define ARRAYSIZE(arr) sizeof(arr)/sizeof(arr[0])
|
||||
#endif // !ARRAYSIZE
|
||||
|
||||
|
||||
// LAYERS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue