补上之前缺失的

This commit is contained in:
Lenn
2026-02-02 22:18:38 +08:00
parent 01b988fcd7
commit ca3545b8b0
7 changed files with 80 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
#include "piezoresistive_a_plugin.h"
#include <memory>
ProtocolBundle PiezoresistiveAPlugin::createBundle() {
ProtocolBundle bundle;
bundle.codec = std::make_shared<PiezoresistiveACodec>();
bundle.decoder = std::make_shared<PiezoresistiveADecoder>();
bundle.format = std::make_shared<PiezoresistiveAFormat>();
return bundle;
}