It gives us basic capabilities for operating the rover on the surface, but we have planned all along to switch over after landing to a version of flight software that is really optimized for surface operations.
Good research is one thing, but it takes a lot of profits from the few approved drugs that make it to market to pay for all the basic research and failed development candidates that lie beneath the surface and out of view of most people.