Skip to content

Commit 6883fcd

Browse files
committed
MAX_NUMBER_STEPPERS extend from 4 to 8
1 parent 0a5ceed commit 6883fcd

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

examples/Telemetrix4Arduino/Telemetrix4Arduino.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ bool sonar_reporting_enabled = true; // flag to start and stop sonar reporing
463463
// firmware version - update this when bumping the version
464464
#define FIRMWARE_MAJOR 5
465465
#define FIRMWARE_MINOR 3
466-
#define FIRMWARE_PATCH 2
466+
#define FIRMWARE_PATCH 3
467467

468468

469469
// Feature Masks And Storage
@@ -1472,6 +1472,9 @@ void stepper_set_speed() {
14721472
#ifdef STEPPERS_ENABLED
14731473

14741474
float speed = (float) ((command_buffer[1] << 8) + command_buffer[2]);
1475+
if (command_buffer[3] == 1){
1476+
speed = speed * -1.0;
1477+
}
14751478
steppers[command_buffer[0]]->setSpeed(speed);
14761479
#endif
14771480
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Telemetrix4Arduino
2-
version=5.3.2
2+
version=5.3.3
33
author=Alan Yorinks
44
maintainer=https://github.com/MrYsLab/
55
sentence=The server for the Telemetrix Project.

0 commit comments

Comments
 (0)