Using a global .dir-locals.el file is a better alternative than reincluding the same emacs header in every file of the project.
this allows for multiple RCInput methods on one board. On Disco it combines RCInput_115200 with RCInput_SBUS