mirror of
https://github.com/eddyem/mmpp.git
synced 2026-03-20 08:40:59 +03:00
add MMPP_lib (for the time being only motors motors)
This commit is contained in:
@@ -134,8 +134,7 @@ int main(int argc, char **argv){
|
||||
signal(SIGTSTP, SIG_IGN); // ctrl+Z
|
||||
setbuf(stdout, NULL);
|
||||
G = parse_args(argc, argv);
|
||||
char *self = strdup(argv[0]);
|
||||
check4running(self, G->pidfile);
|
||||
check4running(NULL, G->pidfile);
|
||||
DBG("Try to open serial %s", G->comdev);
|
||||
if(tty_tryopen(G->comdev, G->speed)){
|
||||
ERR(_("Can't open %s with speed %d. Exit."), G->comdev, G->speed);
|
||||
|
||||
Reference in New Issue
Block a user