I downloaded a stable PX4 Autopilot firmware code in April and made a build. It works fine.
To test something, I changed the last line of ROMFS/px4fmu_common/init_d/4001_quad_x from “set PWM_OUT 1234” to “set PWM_OUT 123456”. After I load this custom build, I see following error on the terminal and the board can’t start.
pwm: PWM_SERVO_SET_SELECT_UPDATE_RATE: Invalid argument
The problem is even I remove the change and make a clean build, the board still fails with the same error.
I can still flash the board with online firmware and the board starts. It just won’t start with my local build.
Any one knows why? Is it possible some file was automatically changed during the build that I am not aware of?