Simulation on hardware sets default value of Roll to -180

Followed the instructions in the docs: Simulation on Hardware — Dev documentation (ardupilot.org)

Upload and building of the firmware was successful.
The trouble started when the drone was unable to initialize its roll properly. The drone always starts at -180 which causes the drone to be upside down, thus unable to test the simulation of hardware. It will be a great help if anyone can offer insights into this matter :pray:
Thank you!

Flight controller: Kakute H7 mini nand
Copter version: 4.4.4

If anyone has the same issue, I edited the defaults_base file which then allowed me to remove the problem.