File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
examples/Telemetrix4Arduino Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -462,8 +462,8 @@ bool sonar_reporting_enabled = true; // flag to start and stop sonar reporing
462
462
463
463
// firmware version - update this when bumping the version
464
464
#define FIRMWARE_MAJOR 5
465
- #define FIRMWARE_MINOR 3
466
- #define FIRMWARE_PATCH 3
465
+ #define FIRMWARE_MINOR 4
466
+ #define FIRMWARE_PATCH 0
467
467
468
468
469
469
// Feature Masks And Storage
@@ -1655,14 +1655,14 @@ void stepper_is_running() {
1655
1655
#ifdef STEPPERS_ENABLED
1656
1656
// motor_id = command_buffer[0]
1657
1657
1658
- // report = STEPPER_IS_RUNNING, motor_id, distance(8 bytes)
1658
+ // report = STEPPER_IS_RUNNING, motor_id, running_state
1659
+ // running state - true if the speed is not zero or not at the target position
1659
1660
1661
+ byte report_message[4 ] = {3 , STEPPER_RUNNING_REPORT, command_buffer[0 ]};
1660
1662
1661
- byte report_message[3 ] = { 2 , STEPPER_RUNNING_REPORT, command_buffer[0 ]} ;
1663
+ report_message[3 ] = steppers[ command_buffer[0 ]]-> isRunning () ;
1662
1664
1663
- report_message[2 ] = steppers[command_buffer[0 ]]->isRunning ();
1664
-
1665
- Serial.write (report_message, 3 );
1665
+ Serial.write (report_message, 4 );
1666
1666
#endif
1667
1667
1668
1668
}
Original file line number Diff line number Diff line change 1
1
name =Telemetrix4Arduino
2
- version =5.3.4
2
+ version =5.4.0
3
3
author =Alan Yorinks
4
4
maintainer =https://github.com/MrYsLab/
5
5
sentence =The server for the Telemetrix Project.
You can’t perform that action at this time.
0 commit comments