🐛 Fix dual MAX31865 initialization issues (#23496)

This commit is contained in:
John Lagonikas
2022-02-05 03:10:59 +02:00
committed by Scott Lahteine
parent a23ecf0d2f
commit cdcf31453b
4 changed files with 216 additions and 152 deletions

View File

@ -166,6 +166,8 @@ void calibrate_delay_loop();
// Delay in microseconds
#define DELAY_US(x) DELAY_CYCLES((x) * ((F_CPU) / 1000000UL))
#define DELAY_CYCLES_VAR DELAY_CYCLES
#elif defined(ESP32) || defined(__PLAT_LINUX__) || defined(__PLAT_NATIVE_SIM__)
// DELAY_CYCLES specified inside platform