mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 13:11:27 +01:00
intermediate: restructure SHT3X
This commit is contained in:
1 parent
0200352f91
commit
0b565cfdc7
6 files changed
+48
-75
No files matched your search
@@ -90,7 +90,7 @@ class SSIDevice{
|
||||
};
|
||||
|
||||
|
||||
class SSISensor : public SensorTemplate<BUSTYPE,SensorBase::SPI, SSISensor>{
|
||||
class SSISensor : public SensorTemplate<BUSTYPE,SensorBase::SPI>{
|
||||
std::unique_ptr<SSIDevice> device;
|
||||
protected:
|
||||
int bits=12;
|
||||
@@ -125,7 +125,7 @@ class SSISensor : public SensorTemplate<BUSTYPE,SensorBase::SPI, SSISensor>{
|
||||
}
|
||||
|
||||
public:
|
||||
SSISensor(GwApi *api,const String &prfx, int host):SensorTemplate<BUSTYPE,SensorBase::SPI,SSISensor>(api,prfx)
|
||||
SSISensor(GwApi *api,const String &prfx, int host):SensorTemplate<BUSTYPE,SensorBase::SPI>(api,prfx)
|
||||
{
|
||||
busId=host;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user