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
path: root/src/Pccb
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-01-05 16:33:42 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-01-05 16:33:42 +0300
commit4f1c0947b1a0680679d8e8468f3e2e47be2bfc44 (patch)
tree7d1133120bc31d32e2b2282e81ce6ad09faf77cd /src/Pccb
parent5bd28a1aea25e83e6e1d7a0ca50cd000e7baf1a7 (diff)
Various
Fixed M917 Improved handling of G31 temperature compensation parameters Added conditional expressions
Diffstat (limited to 'src/Pccb')
-rw-r--r--src/Pccb/Pins_Pccb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Pccb/Pins_Pccb.h b/src/Pccb/Pins_Pccb.h
index bec3043d..5aa596be 100644
--- a/src/Pccb/Pins_Pccb.h
+++ b/src/Pccb/Pins_Pccb.h
@@ -155,6 +155,8 @@ constexpr Pin TMC2660MisoPin = PortAPin(12);
constexpr Pin TMC2660SclkPin = PortAPin(14);
constexpr Pin GlobalTmc2660EnablePin = PortCPin(16); // The pin that drives ENN of all drivers on the DueX5
+constexpr uint32_t DefaultStandstillCurrentPercent = 100; // it's not adjustable on TMC2660
+
#elif defined(PCCB_08)
constexpr Pin ENABLE_PINS[NumDirectDrivers] = { NoPin, NoPin, PortBPin(14), PortCPin(25), PortCPin( 5), PortCPin(19), PortAPin( 0), PortCPin(28) };
@@ -179,6 +181,8 @@ constexpr uint32_t TransferTimeout = 10; // any transfer should complete withi
#define UART_TMC_DRV0_Handler UART0_Handler
#define UART_TMC_DRV1_Handler UART1_Handler
+constexpr uint32_t DefaultStandstillCurrentPercent = 75;
+
#endif
#if defined(PCCB_08) || defined(PCCB_08_X5)