Cuav V5+ controller dead

I added two lines in src/modules/px4IO firmware/registers.c and uploaded the firmware, but the ESC keep beeping and even if I update firmware from QGROUNDCONTROL. Anyone knows what’s wrong? thanks a lot.
Modification is shown as follows(codes commented out)

    [PX4IO_P_SETUP_SCALE_YAW] = 10000,
[PX4IO_P_SETUP_MOTOR_SLEW_MAX] = 0,
[PX4IO_P_SETUP_AIRMODE] = 0,
// [PX4IO_P_SETUP_FTC4DS] = 0,
[PX4IO_P_SETUP_THR_MDL_FAC] = 0,


case PX4IO_P_SETUP_PWM_REVERSE:
case PX4IO_P_SETUP_TRIM_ROLL:
case PX4IO_P_SETUP_TRIM_PITCH:
case PX4IO_P_SETUP_TRIM_YAW:
case PX4IO_P_SETUP_SCALE_ROLL:
case PX4IO_P_SETUP_SCALE_PITCH:
case PX4IO_P_SETUP_SCALE_YAW:
case PX4IO_P_SETUP_MOTOR_SLEW_MAX:
case PX4IO_P_SETUP_AIRMODE:
// case PX4IO_P_SETUP_FTC4DS:
case PX4IO_P_SETUP_THERMAL:

I can tell you what’s wrong.
The ESC is not getting a pulse from the FC. That’s why it is beeping.
As to why that may be I don’t know. If you undid you changes by reloading the firmware the I would think it’s not your change.

thanks for your reply. ESCs do not get any PWM for sure. But after reloading original official version of firmware, ESCs still keep beeping.

I assume it worked at one time, so it is hard to say as you probably have (or had) everything hooked up right.
If that is the case, that it worked before, you need to find out what has changed since then.
Just because you reloaded the previous firmware does not mean things are the same.
Will the ESC calibrate?
Is it possible a connector came loose?
Are the parameters back to default?
Just some ideas.

Connector loose seems to be impossible because 2 of my V5+ flight controller have the same issue after uploading same firmware. ESC calibration didn’t work.

THANKS FOR YOUR KINDLY REPLY.

Well sorry I can’t be more helpful, but when something that should work does not it’s hard to know why.
all I can do do is list common problems.
Somewhere something is not how you think it is.
Quite often when debugging we make assumptions that turn out not to be true.

If you figure it out report back it could help others.

Thanks a million for your help!
I will post the solution on once I have it.