mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
tools/: moved get_key from atrf-path/gui.c to libatrf, for sharing
The old "raw" function becomes get_key_init. Calling get_key_init is only necessary if one wants to control the moment standard input is switched to raw mode. If get_key is invoked without a prior call to get_key_init, it will initialize automatically. - atrf-path/gui.c (raw, main): renamed "raw" to get_key_init - atrf-path/gui.c (old_term, restore_term, get_key_init, get_key): moved to include/getkey.h and lib/getkey.c - lib/getkey.c (get_key_init, get_key): made calling get_key_init optional - lib/Makefile (OBJS): added getkey.o
This commit is contained in:
@@ -19,7 +19,7 @@ OBJS_host = atusb.o atusb-spi.o atusb-common.o usbopen.o
|
||||
OBJS_ben_jlime = atben.o
|
||||
OBJS_ben_openwrt = atben.o
|
||||
|
||||
OBJS = atrf.o atnet.o misctxrx.o cwtest.o netio.o daemon.o timeout.o \
|
||||
OBJS = atrf.o atnet.o misctxrx.o cwtest.o netio.o daemon.o timeout.o getkey.o \
|
||||
$(OBJS_$(TARGET))
|
||||
|
||||
.PHONY: all clean spotless
|
||||
|
||||
Reference in New Issue
Block a user