补上之前缺失的
This commit is contained in:
11
plugins/piezoresistive_a/piezoresistive_a_plugin.cpp
Normal file
11
plugins/piezoresistive_a/piezoresistive_a_plugin.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user