It looks (to me at least) like RC_Channel's RC_Channel_VarInfo.h file is actually the implementation of the var table so I think it should be in a .cpp file.
I think the closest equivalent is how we've done the AP_RangeFinder/AP_RangeFinder_Params which includes both a .h and a .cpp file.
It looks (to me at least) like RC_Channel's RC_Channel_VarInfo.h file is actually the implementation of the var table so I think it should be in a .cpp file.
I think the closest equivalent is how we've done the AP_RangeFinder/AP_RangeFinder_Params which includes both a .h and a .cpp file.