Browse Source

Fix SS pin in ESP32 HW SPI (#13781)

pull/1/head
felixstorm 6 years ago
committed by Scott Lahteine
parent
commit
4e35e6c705
  1. 2
      Marlin/src/HAL/HAL_ESP32/spi_pins.h
  2. 3
      Marlin/src/pins/pins_ESP32.h

2
Marlin/src/HAL/HAL_ESP32/spi_pins.h

@ -18,7 +18,7 @@
*/ */
#pragma once #pragma once
#define SS_PIN 5 #define SS_PIN SDSS
#define SCK_PIN 18 #define SCK_PIN 18
#define MISO_PIN 19 #define MISO_PIN 19
#define MOSI_PIN 23 #define MOSI_PIN 23

3
Marlin/src/pins/pins_ESP32.h

@ -72,3 +72,6 @@
#define HEATER_0_PIN 2 #define HEATER_0_PIN 2
#define FAN_PIN 13 #define FAN_PIN 13
#define HEATER_BED_PIN 4 #define HEATER_BED_PIN 4
// SPI
#define SDSS 5

Loading…
Cancel
Save