Update RFControl.cpp

Now it works in the simulation.