No Baro Sensor 0 Error

Can the error be neglected during preflight checks by manipulating the firmware and neglecting the barometer cause we are already using LIDAR Lite just for the sake of measurement of height so it doesn’t matter what gives the height so is there any way to neglect the error for the Pixhawk?

Were you able to solve the No Baro Sensor 0 error?