🧑‍💻 Use MAX31865 flag (#26574)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Keith Bennett
2023-12-26 15:43:06 -08:00
committed by GitHub
parent 7603023928
commit 06b9e40042
2 changed files with 5 additions and 6 deletions

View File

@@ -26,15 +26,15 @@
//
// Temperature Sensors
//
#if TEMP_SENSOR_0 == -5
#define TEMP_0_PIN PF4 // TH0
#if TEMP_SENSOR_0_IS_MAX31865
#define TEMP_0_CS_PIN PF8 // Max31865 CS
#define TEMP_0_SCK_PIN PA5
#define TEMP_0_MISO_PIN PA6
#define TEMP_0_MOSI_PIN PA7
#define SOFTWARE_SPI // Max31865 and LCD SD share a set of SPIs, Set SD to softwareSPI for Max31865
#define FORCE_SOFT_SPI
#else
#define TEMP_0_PIN PF4 // TH0
#endif
#if !defined(Z_MIN_PROBE_PIN) && DISABLED(BLTOUCH)

View File

@@ -214,19 +214,18 @@
// Temperature Sensors
//
#define TEMP_BED_PIN PF3 // TB
#define TEMP_0_PIN PF4 // TH0
#define TEMP_1_PIN PF5 // TH1
#define TEMP_2_PIN PF6 // TH2
#define TEMP_3_PIN PF7 // TH3
#if TEMP_SENSOR_0 == -5
#if TEMP_SENSOR_0_IS_MAX31865
#define TEMP_0_CS_PIN PF8 // Max31865 CS
#define TEMP_0_SCK_PIN PA5
#define TEMP_0_MISO_PIN PA6
#define TEMP_0_MOSI_PIN PA7
#define SOFTWARE_SPI // Max31865 and LCD SD share a set of SPIs, Set SD to softwareSPI for Max31865
#define FORCE_SOFT_SPI
#else
#define TEMP_0_PIN PF4 // TH0
#endif
//