Does the AHRS_ORIENTATION change compass_orientation?

FC was set in the opposite direction due to cable length. Parameter set to AHRS_ORIENTATION yaw180
In this case, should COMPASS_ORINATION be set to 180?
I’m using cuav 5+.

The compass orientation is determined automatically in 4.0 AFAIK.