make spi devices working again
This commit is contained in:
parent
efd23b0e39
commit
4a62e65a29
|
@ -83,7 +83,7 @@ class GWDMS22B : public SSISensor{
|
||||||
bool invt=false;
|
bool invt=false;
|
||||||
String zeroConfigName;
|
String zeroConfigName;
|
||||||
public:
|
public:
|
||||||
using SSISensor::SSISensor;
|
GWDMS22B(GwApi *api,const String &prfx, int host):SSISensor("DMS22B",api,prfx,host){}
|
||||||
virtual bool preinit(GwApi * api){
|
virtual bool preinit(GwApi * api){
|
||||||
GwLog *logger=api->getLogger();
|
GwLog *logger=api->getLogger();
|
||||||
LOG_DEBUG(GwLog::LOG,"DMS22B configured, prefix=%s, intv=%f, active=%d",prefix.c_str(),fintv,(int)act);
|
LOG_DEBUG(GwLog::LOG,"DMS22B configured, prefix=%s, intv=%f, active=%d",prefix.c_str(),fintv,(int)act);
|
||||||
|
|
Loading…
Reference in New Issue