Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-01-04 17:08:43 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-01-04 17:08:43 +0300
commitb7e51fd15191dacded5a64f58a522f50e989b4d7 (patch)
treec2eb8fe78da99a1de47b88e442fdc50614a6f5e5 /src/DuetNG
parent58b586b899b292c3ee82079810491669e0b2c99c (diff)
Disabled an unused pin definition
Diffstat (limited to 'src/DuetNG')
-rw-r--r--src/DuetNG/Pins_DuetNG.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/DuetNG/Pins_DuetNG.h b/src/DuetNG/Pins_DuetNG.h
index 45178e70..28f61b0a 100644
--- a/src/DuetNG/Pins_DuetNG.h
+++ b/src/DuetNG/Pins_DuetNG.h
@@ -190,8 +190,8 @@ constexpr Pin TMC2660SclkPin = PortAPin(23);
constexpr uint32_t DefaultStandstillCurrentPercent = 100; // it's not adjustable on Duet 2
-constexpr Pin DueX_SG = PortEPin(0); // DueX stallguard detect pin = PE0 (was E2_STOP)
-constexpr Pin DueX_INT = PortAPin(17); // DueX interrupt pin = PA17 (was E6_STOP)
+constexpr Pin DueX_SG = PortEPin(0); // DueX stallguard detect pin on older DueX boards (was E2_STOP)
+constexpr Pin DueX_INT = PortAPin(17); // DueX interrupt pin (was E6_STOP)
// Thermistors
constexpr Pin TEMP_SENSE_PINS[NumThermistorInputs] =
@@ -212,7 +212,9 @@ constexpr Pin ATX_POWER_PIN = PortDPin(15);
// Analogue pin numbers
constexpr Pin PowerMonitorVinDetectPin = PortCPin(4); // AFE1_AD7/PC4 Vin monitor
+#if 0 // the 5V regulator input monitor pin has never been used and may be removed on future PCB revisions
constexpr Pin PowerMonitor5vDetectPin = PortBPin(3); // AFE1_AD1/PB3 5V regulator input monitor
+#endif
constexpr float PowerMonitorVoltageRange = 11.0 * 3.3; // We use an 11:1 voltage divider