Ardupilot2/libraries/AP_Common
Lucas De Marchi 57ee0e29f6 AP_Common: simplify ARRAY_SIZE
This rolls back to the simpler version of ARRAY_SIZE. The more complex
one helps catching bugs when we use pointers when we are expecting an
array, but can't stand arrays with 0 elements.  I'm not aware of bugs it
actually caught on ArduPilot, although it did for me in other projects.

I think this is better than having a separate "_SIMPLE" version of the
macro and spread its usage... the trend is just to use the simpler
version anyway.
2018-08-04 15:31:55 +10:00
..
examples/AP_Common AP_Common: example fix travis warning 2017-04-13 19:56:16 +01:00
missing AP_Common: fixed cygwin ChibiOS build 2018-03-02 17:11:31 +11:00
AP_Common.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Common.h AP_Common: simplify ARRAY_SIZE 2018-08-04 15:31:55 +10:00
AP_FWVersion.cpp AP_Common: AP_FWVersion: create singleton 2018-06-18 19:10:37 +01:00
AP_FWVersion.h AP_Common: AP_FWVersion: create singleton 2018-06-18 19:10:37 +01:00
AP_Test.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Bitmask.h AP_Common: fix Bitmask out-of-range values 2017-09-09 14:05:41 +09:00
c++.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
keywords.txt Add support for 'new' and 'delete', so we can cons things on the fly. 2010-10-17 04:02:06 +00:00
Location.cpp AP_Common: Location: use AP_AHRS singleton 2018-06-01 16:18:33 +01:00
Location.h AP_Common: Location: use AP_AHRS singleton 2018-06-01 16:18:33 +01:00