mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-02-11 07:03:07 +01:00
correctly handle ifdefs for SHT4X
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#include "SHT4X.h"
|
||||
#include "GwSHTXX.h"
|
||||
#ifdef _GWSHT4X
|
||||
|
||||
uint8_t crc8(const uint8_t *data, int len) {
|
||||
/*
|
||||
*
|
||||
@@ -126,3 +128,4 @@ void SHT4X::setHeater(sht4x_heater_t heat) {
|
||||
sht4x_heater_t SHT4X::getHeater(void) {
|
||||
return _heater;
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user