Pixhawk 2 Board showing COMPASS_DEV_ID = 0

I am using the Pixhawk 2 board. Yesterday I found that COMPASS_DEV_ID is 0. What will be the possible reason for it?