AP_RPM: Sensor not working after reboot

I am trying to integrate an rpm sensor into my heli. It is working fine but when I reboot (hard or soft) it gets disabled and I have to manually go into the parameters list and disable the rpm pin and then re-enable it to get it working again. I am using Copter-3.5.4-rc1 and the pre-existing AP_RPM code. Not sure if it’s a bug or if I have something configured wrong.

Using a sig gen to emulate pulse from sensor and using MAVLink Inspector to monitor RPM.