Skip to content

Commit 58bed6e

Browse files
committed
Rename MACHINE_BECKHOFF_TEST to MINIMAL_EXAMPLE_MOTOR in lib.rs and motor_test_machine/mod.rs
1 parent 6892f75 commit 58bed6e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

machines/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub const TEST_MACHINE: u16 = 0x0033;
4747
pub const IP20_TEST_MACHINE: u16 = 0x0034;
4848
pub const ANALOG_INPUT_TEST_MACHINE: u16 = 0x0035;
4949

50-
pub const MACHINE_BECKHOFF_TEST: u16 = 0x0011;
50+
pub const MINIMAL_EXAMPLE_MOTOR: u16 = 0x0011;
5151

5252
use serde_json::Value;
5353
use smol::lock::RwLock;

machines/src/motor_test_machine/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::machine_identification::{MachineIdentification, MachineIdentificationUnique};
22
use crate::{AsyncThreadMessage, Machine, MachineMessage};
3-
use crate::{MACHINE_BECKHOFF_TEST, VENDOR_QITECH};
3+
use crate::{MINIMAL_EXAMPLE_MOTOR, VENDOR_QITECH};
44
use control_core::socketio::namespace::NamespaceCacheingLogic;
55
use ethercat_hal::io::stepper_velocity_el70x1::StepperVelocityEL70x1;
66
use smol::channel::{Receiver, Sender};
@@ -40,7 +40,7 @@ impl Machine for MotorTestMachine {
4040
impl MotorTestMachine {
4141
pub const MACHINE_IDENTIFICATION: MachineIdentification = MachineIdentification {
4242
vendor: VENDOR_QITECH,
43-
machine: MACHINE_BECKHOFF_TEST,
43+
machine: MINIMAL_EXAMPLE_MOTOR,
4444
};
4545

4646
pub fn emit_state(&mut self) {

0 commit comments

Comments
 (0)