SDPOWER => SDPOWER_PIN

This commit is contained in:
Scott Lahteine
2019-08-02 02:19:39 -05:00
parent 5e2582a31b
commit 9ac348ef7b
12 changed files with 10 additions and 16 deletions

View File

@ -125,7 +125,6 @@
#define BEEPER_PIN 44
#if ENABLED(SDSUPPORT)
#define SDPOWER -1
#define SDSS 53
#define SD_DETECT_PIN 49
#endif

View File

@ -89,7 +89,6 @@
//
// Misc. Functions
//
#define SDPOWER -1
#define SDSS 53
#define LED_PIN 13
#define PS_ON_PIN 12

View File

@ -83,7 +83,6 @@
// SD Card
//
#define SD_DETECT_PIN -1
#define SDPOWER -1
#define SDSS 53
//

View File

@ -774,8 +774,8 @@
#ifndef SD_DETECT_PIN
#define SD_DETECT_PIN -1
#endif
#ifndef SDPOWER
#define SDPOWER -1
#ifndef SDPOWER_PIN
#define SDPOWER_PIN -1
#endif
#ifndef SDSS
#define SDSS -1

View File

@ -707,8 +707,8 @@
// #if defined(SDA) && SDA >= 0
// REPORT_NAME_DIGITAL(__LINE__, SDA)
// #endif
#if defined(SDPOWER) && SDPOWER >= 0
REPORT_NAME_DIGITAL(__LINE__, SDPOWER)
#if PIN_EXISTS(SDPOWER)
REPORT_NAME_DIGITAL(__LINE__, SDPOWER_PIN)
#endif
#if defined(SDSS) && SDSS >= 0
REPORT_NAME_DIGITAL(__LINE__, SDSS)

View File

@ -42,8 +42,7 @@
//
// Misc. Functions
//
#undef SDPOWER
#define SDPOWER 1
#define SDPOWER_PIN 1
#define PS_ON_PIN 12

View File

@ -103,7 +103,7 @@
//
// Misc. Functions
//
#define SDPOWER 48
#define SDPOWER_PIN 48
#define SDSS 53
#define LED_PIN 13
#define CASE_LIGHT_PIN 45 // Hardware PWM

View File

@ -215,7 +215,6 @@
#define BEEPER_PIN 44
#if ENABLED(SDSUPPORT)
#define SDPOWER -1
#define SDSS 53
#define SD_DETECT_PIN 49
#endif

View File

@ -86,7 +86,6 @@
//
// Misc. Functions
//
#define SDPOWER -1
#define SDSS PA15
#define LED_PIN PB2

View File

@ -84,7 +84,6 @@
//
// Misc. Functions
//
#define SDPOWER -1
#define SDSS -1
#define LED_PIN -1
#define CASE_LIGHT_PIN 8