using function pointer to make different branch for different rc
Merge pull request #1660 from ruil2/frame_rate

    using function pointer to make different branch for different rc