⏪️ Revert MAX31865 recent changes (#22660)
This commit is contained in:
@ -63,21 +63,21 @@
|
||||
|
||||
// LIB_MAX6675 can be added to the build_flags in platformio.ini to use a user-defined library
|
||||
// If LIB_MAX6675 is not on the build_flags then raw SPI reads will be used.
|
||||
#if HAS_MAX6675 && LIB_USR_MAX6675
|
||||
#if HAS_MAX6675 && USE_LIB_MAX6675
|
||||
#include <max6675.h>
|
||||
#define HAS_MAX6675_LIBRARY 1
|
||||
#endif
|
||||
|
||||
// LIB_MAX31855 can be added to the build_flags in platformio.ini to use a user-defined library.
|
||||
// If LIB_MAX31855 is not on the build_flags then raw SPI reads will be used.
|
||||
#if HAS_MAX31855 && LIB_USR_MAX31855
|
||||
#if HAS_MAX31855 && USE_ADAFRUIT_MAX31855
|
||||
#include <Adafruit_MAX31855.h>
|
||||
#define HAS_MAX31855_LIBRARY 1
|
||||
typedef Adafruit_MAX31855 MAX31855;
|
||||
#endif
|
||||
|
||||
#if HAS_MAX31865
|
||||
#if LIB_USR_MAX31865
|
||||
#if USE_ADAFRUIT_MAX31865
|
||||
#include <Adafruit_MAX31865.h>
|
||||
typedef Adafruit_MAX31865 MAX31865;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user