Browse Source

AP_Common: remove ARRAY_SIZE_SIMPLE

Now this is basically ARRAY_SIZE, so remove it.
mission-4.1.18
Lucas De Marchi 7 years ago committed by Andrew Tridgell
parent
commit
88df4d127e
  1. 3
      libraries/AP_Common/AP_Common.h

3
libraries/AP_Common/AP_Common.h

@ -73,9 +73,6 @@ @@ -73,9 +73,6 @@
#define ARRAY_SIZE(_arr) (sizeof(_arr) / sizeof(_arr[0]))
// simpler ARRAY_SIZE which can handle zero elements
#define ARRAY_SIZE_SIMPLE(_arr) (sizeof(_arr)/sizeof(_arr[0]))
/*
* See UNUSED_RESULT. The difference is that it receives @uniq_ as the name to
* be used for its internal variable.

Loading…
Cancel
Save