diff --git a/main.c b/main.c --- a/main.c +++ b/main.c @@ -5,8 +5,12 @@ #include "pid.h" #include "states.h" #include "ssd1306.h" +#ifdef MAX31855_TC_SENSOR #include "max31855.h" +#endif +#ifdef MAX31865_RTD_SENSOR #include "max31865.h" +#endif #include "gpio.h" #include "spi.h" #include "flash.h"