mirror of
https://github.com/eddyem/BTA_utils.git
synced 2026-09-30 13:50:42 +03:00
add working with pseudo-FX3U with my firmware
This commit is contained in:
@@ -51,6 +51,7 @@ glob_pars G = {
|
||||
.speedchk_interval = 10.,
|
||||
#endif
|
||||
#ifdef SERVER
|
||||
.io_ID = -1, // no IO board
|
||||
.motlogdir = "/tmp",
|
||||
#endif
|
||||
};
|
||||
@@ -75,6 +76,7 @@ static sl_option_t cmdlnopts[] = {
|
||||
{"serialdev",NEED_ARG, NULL, 'd', arg_string, APTR(&G.serialpath),_("path to RS-485 device")},
|
||||
{"serialspeed",NEED_ARG,NULL, 's', arg_int, APTR(&G.serialspeed),_("speed of serial device")},
|
||||
{"mldir", NEED_ARG, NULL, 'D', arg_string, APTR(&G.motlogdir), _("directory to store motor logs (default: /tmp)")},
|
||||
{"ioid", NEED_ARG, NULL, 'i', arg_int, APTR(&G.io_ID), _("I/O board modbus ID")},
|
||||
#endif
|
||||
#ifdef CLIENT
|
||||
{"mottmout",NEED_ARG, NULL, 'M', arg_double, APTR(&G.speedchk_interval), _("interval of motor's speed checking, s (default: 10)")},
|
||||
|
||||
Reference in New Issue
Block a user