Skip to content

Commit b746403

Browse files
committed
bump version
1 parent e205a7d commit b746403

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ TODO:
55
- rename RampConstAcceleration to e.g. RampControl
66
- for esp-idf 5 make use of espressif resource management of rmt channels
77

8+
0.31.1:
9+
- Fix for issue #280: stopMove() is interrupted if followed by update of speed/acceleration
10+
- Related to issue #280: `isStopping()` did not work as expected and this should be fixed, too.
11+
812
0.31.0:
913
- Fix missing parenthesis in preprocessor macro (#271)
1014
- Position parameter for `forceStopAndNewPosition()` changed from `uint32_t` to `int32_t` (#268)

examples/Issue280/Issue280.ino

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ void loop() {
4141
// Let the stepper task process the stopMove()
4242
delay(20);
4343

44+
bool err = false;
45+
if (!stepper->isStopping()) {
46+
Serial.println("Stepper is not stopping");
47+
err = true;
48+
}
49+
4450
// Then update speed
4551
stepper->setAcceleration(90000);
4652
stepper->applySpeedAcceleration();
@@ -57,7 +63,6 @@ void loop() {
5763
Serial.println(stepper->getCurrentSpeedInUs());
5864

5965
// If still running, then this is an error
60-
bool err = false;
6166
if (stepper->isRunning()) {
6267
Serial.println("Stepper did not stop");
6368
err = true;

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=FastAccelStepper
2-
version=0.31.0
2+
version=0.31.1
33
license=MIT
44
author=Jochen Kiemes <[email protected]>
55
maintainer=Jochen Kiemes <[email protected]>

0 commit comments

Comments
 (0)