diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-10-05 15:26:21 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-10-05 15:26:21 +0300 |
commit | 42b31bccc0d81eb476133c922b83e538a033d73c (patch) | |
tree | 33d9e994c5c5aaba5f0ae27268901351f81b3db0 | |
parent | 9c6db4632f8be9ac72b9bfa828911c63d29b5e50 (diff) |
Corrected priority of step interrupt on Mini5+3.2beta2
-rw-r--r-- | src/Movement/StepTimer.cpp | 2 | ||||
-rw-r--r-- | src/Version.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Movement/StepTimer.cpp b/src/Movement/StepTimer.cpp index 05cb7549..8f4a8b77 100644 --- a/src/Movement/StepTimer.cpp +++ b/src/Movement/StepTimer.cpp @@ -50,7 +50,7 @@ void StepTimer::Init() noexcept hri_tc_set_CTRLA_ENABLE_bit(StepTc); - NVIC_DisableIRQ(StepTcIRQn); + NVIC_SetPriority(StepTcIRQn, NvicPriorityStep); // Set the priority for this IRQ NVIC_ClearPendingIRQ(StepTcIRQn); NVIC_EnableIRQ(StepTcIRQn); #elif defined(__LPC17xx__) diff --git a/src/Version.h b/src/Version.h index 667b4cda..d498c620 100644 --- a/src/Version.h +++ b/src/Version.h @@ -19,7 +19,7 @@ #endif #ifndef DATE -# define DATE "2020-10-05b1" +# define DATE "2020-10-05b2" #endif #define AUTHORS "reprappro, dc42, chrishamm, t3p3, dnewman, printm3d" |