One motor will not turn

I have a matek f405 ctr. I have escs wired up. If i flash with betaflight all motors turn with a motor test. If i flash with ardupilot only 3 out of 4 work. I have an led on each esc that goes green on all 4 when flashed with betaflight but when flashed with ardu the motor that does not turn has no green led and the motor beeps. Have have been back and forward flashing between both firmware’s but the problem is still there. Any ideas?