From c4b7d1858a934c221e928327b2d5d37a799bf502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Sandstr=C3=B6m?= Date: Thu, 26 Sep 2024 10:00:00 +0200 Subject: [PATCH] Add optional HW_DESC --- addEL70x1.cmd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addEL70x1.cmd b/addEL70x1.cmd index 391a5ac..91c6c6f 100644 --- a/addEL70x1.cmd +++ b/addEL70x1.cmd @@ -14,10 +14,12 @@ #- #- Arguments #- [optional] -#- SLAVE_ID EL7041 slave id, defaults to the "next" slave id +#- SLAVE_ID EL7041 slave id, defaults to the "next" slave id +#- HW_DESC Slave type defaults to EL7041-0052, Support most EL70x1, however NOT EL7041-1000. +#- -# X:$(S_ID) - EL7041 1Ch Stepper -${SCRIPTEXEC} ${ecmccfg_DIR}addSlave.cmd, "HW_DESC=EL7041-0052, SLAVE_ID=${${SLAVE_ID=0}}" +#- X:$(SLAVE_ID) - EL7041 1Ch Stepper +${SCRIPTEXEC} ${ecmccfg_DIR}addSlave.cmd, "HW_DESC=${HW_DESC=EL7041-0052}, SLAVE_ID=${${SLAVE_ID=0}}" #-############################################################################### #- Max current [mA]