move common LMS API check into inline functions
move common LMS API check into inline functions

limemicro/lms7suite,limemicro/lms7suite,limemicro/lms7suite,myriadrf/LimeSuite,myriadrf/LimeSuite,myriadrf/LimeSuite,myriadrf/LimeSuite,limemicro/lms7suite,limemicro/lms7suite,myriadrf/LimeSuite