osmo-opencm3-projects/projects/rfdsatt/utils.h

7 lines
154 B
C

#pragma once
/*! Determine number of elements in an array of static size */
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#endif