SYS_STATUS.onboard_control_sensors_health not getting updated

I notice that in the onboard_control_sensors_health bitfield GPS (and other sensors) show as healthy even when they’re not. The PREARM_CHECK bit seems to be working correctly, but not the individual sensors. Is this expected? I wonder if there’s an issue submitted to have this resolved.

In the past I fixed some of those bits. My guess is that I did not fix them all.

Thanks @amilcarlucas

Is there another way to get individual sensor status besides monitoring STATUSTEXT messages?

Not that i known off. The solution is to fix ArduPilot code