Red Robot Light on Cortex (Code Issue?)

All lights on the Cortex and Joystick are green except the “Robot” light which is a red and blinks once. This means it is a programming error but I cannot seem to find the issue. I am using the following code

"
#pragma config(Motor, port2, TWO, tmotorVex269_MC29, openLoop, reversed)
#pragma config(Motor, port3, THREE, tmotorVex269_MC29, openLoop)
#pragma config(Motor, port4, FOUR, tmotorVex269_MC29, openLoop, reversed)
#pragma config(Motor, port5, ONE, tmotorVex269_MC29, openLoop)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//

//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//
task main()
{
while(true)
{

	motor(ONE)=motor(THREE)=vexRT(Ch2);
	motor(TWO)=motor(FOUR)=vexRT(Ch3);
}

}
"

I don’t see anything wrong with the code. The red robot led can mean several things, have a look at the user guide here

If in fact your code is not running and the user cpu has an error, I would first check the versions of firmware on your cortex and joystick using the “software inspection” menu in RobotC. The latest master firmware for cortex and joystick is V4.25 and the RobotC firmware will be 1055 if you are using the latest version of RobotC which is V4.55. If the master firmware needs an upgrade you can use the VEX firmware upgrade utility found here.
https://www.vexrobotics.com/vexedr/resources/firmware

If you are using VEXnet keys try using a USB A-A cable as a tether between the cortex and joystick and see if that solves your issue, if this works the VEXnet keys may need an upgrade, you can find that utility on the firmware download page as well.