mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 15:33:05 +01:00
correct compilation of SHT3X and QMP6988
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
#ifndef _GQQMP6988_H
|
||||
#define _GQQMP6988_H
|
||||
#include "GwIicSensors.h"
|
||||
#ifdef _GWIIC
|
||||
#if defined(GWQMP6988) || defined(GWQMP698811) || defined(GWQMP698812) || defined(GWQMP698821) || defined(GWQMP698822)
|
||||
#define _GWQMP6988
|
||||
#else
|
||||
#undef _GWQMP6988
|
||||
#endif
|
||||
#else
|
||||
#undef _GWQMP6988
|
||||
#undef GWQMP6988
|
||||
#undef GWQMP698811
|
||||
#undef GWQMP698812
|
||||
#undef GWQMP698821
|
||||
#undef GWQMP698822
|
||||
#endif
|
||||
#ifdef _GWQMP6988
|
||||
#include "QMP6988.h"
|
||||
#endif
|
||||
void registerQMP6988(GwApi *api,SensorList &sensors);
|
||||
#endif
|
||||
Reference in New Issue
Block a user