Please put 3 / 7 into defines in the px4iofirmware/px4io.h header (if not already there. We should try to avoid magic numbers whenever possible.