make spi devices working again

This commit is contained in:
andreas 2024-03-21 17:42:30 +01:00
parent efd23b0e39
commit 4a62e65a29
1 changed files with 1 additions and 1 deletions

View File

@ -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);