The test flight was fully autonomous. Due to the vast distance between Earth and Mars, it’s simply not possible with today’s technology to fly Ingenuity in “real time.”
https://www.techspot.com/news/89356-nasa-ingenuity-mars-helicopter-completes-historic-first-flight.html?utm_source=dlvr.it&utm_medium=blogger
https://www.techspot.com/news/89356-nasa-ingenuity-mars-helicopter-completes-historic-first-flight.html?utm_source=dlvr.it&utm_medium=blogger