Added compile time checks

This commit is contained in:
dario 2024-06-29 17:23:50 +02:00
parent fa2cbec794
commit fa30a28b45

View File

@ -9,6 +9,14 @@
#include <math.h> #include <math.h>
#ifndef STA_MS56XX_TEMPERATURE_SPATZ_ID
# error "MS56xx temperature SPATZ ID not defined."
#endif // !STA_MS56XX_TEMPERATURE_SPATZ_ID
#ifndef STA_MS56XX_PRESSURE_SPATZ_ID
# error "MS56xx pressure SPATZ ID not defined."
#endif // !STA_MS56XX_PRESSURE_SPATZ_ID
namespace sta namespace sta
{ {