https://github.com/wertarbyte/multiwii- ... items_enum
This neutral patch transforms the BOXACC/BOXMAG/... defines into an enumeration; this maes it possible to leave the actual counting to the compiler while being able to add and remove items; since the number of switchables is (still) limited, this makes it possible to remove unused items and replace them with other stuff while keeping the numbering intact.