mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
move ARRAY_SIZE() definition to utils.h
This commit is contained in:
4
firmware/src_simtrace/utils.h
Normal file
4
firmware/src_simtrace/utils.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
Reference in New Issue
Block a user