Project

General

Profile

« Previous | Next » 

Revision c71ca2b5

Allow opening a tty by giving its (usb) serial number

Before opening the given path, try to match a usb serial number. If there
is a match, the corresponding device node is openened.

This uses libudev, so it's for linux only.

Added by Anthony Mallet over 3 years ago

View differences:

codels/Makefile.am
29 29
libmikrokopter_codels_la_LDFLAGS=	$(requires_LIBS)
30 30
libmikrokopter_codels_la_LDFLAGS+=	-release $(PACKAGE_VERSION)
31 31

  
32
libmikrokopter_codels_la_CPPFLAGS+=	$(libudev_CFLAGS)
33
libmikrokopter_codels_la_LDFLAGS+=	$(libudev_LIBS)
32 34

  
33 35
# idl  mappings
34 36
BUILT_SOURCES=	mikrokopter_c_types.h

Also available in: Unified diff