Fast Scan Matrix Example

I notice in the Tutorial 011 AIN that the analog input is explicitly masked in MIOS32_config.h

Is it necessary to do this if the Analog input is initialised in void APP_Init(void) by defining specific J5 pin(s) as an analog input?

In other words are both tasks necessary?

Regards Robin