New flight mode setup

Hi,
I’m working on a project concerning the autonomous landing of a traditional helicotper using a camera and the PixHawk.

I’m trying to implement the autonomous landing as a new flight mode following the guide available at the link: http://ardupilot.org/dev/docs/apmcopter-adding-a-new-flight-mode.html.

I was able to complete the guide, however I didn’t understand the step n.7.

Step 7 only says: " Add the new flight mode to the list of valid @Values for the
FLTMODE1 ~ FLTMODE6 parameters in Parameters.cpp."

I did that, but I noticed that on file config.h all the 6 flight mode variables (FLIGHT_MODE_x) point to the same flight mode: STABILIZE

Shouldn’t I choose one of these variable and modify it in order to point to my flight mode?

For example:

#ifndef FLIGHT_MODE_1

#define FLIGHT_MODE_1 STABILIZE --> SHOULD BECOME MY_FLIGHTMODE

#endif

#ifndef FLIGHT_MODE_2

#define FLIGHT_MODE_2 STABILIZE

#endif

#ifndef FLIGHT_MODE_3

#define FLIGHT_MODE_3 STABILIZE

#endif

#ifndef FLIGHT_MODE_4

#define FLIGHT_MODE_4 STABILIZE

#endif

#ifndef FLIGHT_MODE_5

#define FLIGHT_MODE_5 STABILIZE

#endif

#ifndef FLIGHT_MODE_6

#define FLIGHT_MODE_6 STABILIZE

#endif

Thanks.