This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What causes a "#177-D subscript out of range" warning?

I'm trying to move PWM_CH and PWM_CL to PWM4A and PWM4B so I can use eCAP1 on GPIO5/PWM3B (pin#40).  I thought that I successfully modified HAL.H and HAL.C to change the pins but the compiler is giving me multiple warnings:

"#177-D subscript out of range"

Any ideas what I did wrong?

Here's a screen grab of the warning:

I apologize if this isn't the correct forum to post this question.

Thanks,

Richard C.

Richard C.