Holtek HT6P20B support for SubGhzD (#2941)

This commit is contained in:
lifegame1lu111
2026-01-25 08:41:06 +00:00
committed by GitHub
parent 5cc5f8faa6
commit 44d9ce00cd
4 changed files with 96 additions and 1 deletions
@@ -54,6 +54,7 @@ So include here the .hpp, and add a new element to the protos vector in the cons
#include "s-gangqi.hpp"
#include "s-marantec24.hpp"
// GENIE FROM PR
#include "s-holtek_ht6p20b.hpp"
#ifndef __FPROTO_PROTOLISTSGZ_H__
#define __FPROTO_PROTOLISTSGZ_H__
@@ -107,6 +108,7 @@ class SubGhzDProtos : public FProtoListGeneral {
protos[FPS_LEGRAND] = new FProtoSubGhzDLegrand();
protos[FPS_GANGQI] = new FProtoSubGhzDGangqi();
protos[FPS_MARANTEC24] = new FProtoSubGhzDMarantec24();
protos[FPS_HOLTEKHT6P20B] = new FProtoSubGhzDHoltekHt6p20b();
for (uint8_t i = 0; i < FPS_COUNT; ++i) {
if (protos[i] != NULL) protos[i]->setCallback(callbackTarget);