mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-10 15:25:07 -06:00
Fix MAX31865 on SPI (PT100/1000) support (#20074)
This commit is contained in:
parent
6ccb4b93b1
commit
40d442fde2
7 changed files with 128 additions and 100 deletions
|
@ -55,10 +55,10 @@ extern "C"{
|
|||
*----------------------------------------------------------------------------*/
|
||||
|
||||
// Number of pins defined in PinDescription array
|
||||
#define PINS_COUNT (79U)
|
||||
#define NUM_DIGITAL_PINS (66U)
|
||||
#define NUM_ANALOG_INPUTS (12U)
|
||||
#define analogInputToDigitalPin(p) ((p < 12U) ? (p) + 54U : -1)
|
||||
#define PINS_COUNT 79
|
||||
#define NUM_DIGITAL_PINS 66
|
||||
#define NUM_ANALOG_INPUTS 12
|
||||
#define analogInputToDigitalPin(p) ((p < 12) ? (p) + 54 : -1)
|
||||
|
||||
#define digitalPinToPort(P) ( g_APinDescription[P].pPort )
|
||||
#define digitalPinToBitMask(P) ( g_APinDescription[P].ulPin )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue