RC receiver and Odrive

Hello,

I am trying to use and RC receiver and Odrive together, but my odrive wont save the GPIO setting (odrv0.config.gpio4_mode = GPIO_MODE_PWM). I am following the instructions on the Odrive website exactly but I dont know whats wrong. RC PWM input — ODrive Documentation 0.0 documentation