1
0
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:
wellenvogel
2025-09-29 18:04:04 +02:00
parent 432a10bfb1
commit 566d84d3e6

View File

@@ -1,4 +1,6 @@
#include "SHT4X.h" #include "GwSHTXX.h"
#ifdef _GWSHT4X
uint8_t crc8(const uint8_t *data, int len) { 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) { sht4x_heater_t SHT4X::getHeater(void) {
return _heater; return _heater;
} }
#endif