simplify and avoid code duplication by instanciate gpio-ir-recv