STM32F1 SPI1 bugfix (#14679)

This commit is contained in:
BigTreeTech
2019-07-21 09:35:41 +08:00
committed by Scott Lahteine
parent 5b2fd3ad86
commit a38b9da672
4 changed files with 20 additions and 4 deletions

View File

@ -148,7 +148,7 @@
//
// USB connect control
//
#define USB_CONNECT PC13
#define USB_CONNECT_PIN PC13
#define USB_CONNECT_INVERTING false
#define SD_DETECT_PIN PC4

View File

@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#pragma once
#ifndef TARGET_STM32F1
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
@ -102,7 +103,7 @@
//
// USB connect control
//
#define USB_CONNECT PC13
#define USB_CONNECT_PIN PC13
#define USB_CONNECT_INVERTING false
#define SD_DETECT_PIN PC4