[linux] handle SIGINT by hand if needed, useful for debug

type Ctrl-C two to stop the program launched from the console on
ardrone2 and bebop

close #1008
This commit is contained in:
Gautier Hattenberger
2014-12-18 10:55:10 +01:00
parent 7b83653df1
commit 7fcb4357a4
3 changed files with 48 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ GPS_PORT ?= UART1
GPS_BAUD ?= B230400
$(TARGET).CFLAGS += -DUART1_DEV=\"/dev/ttyPA1\"
# handle linux signals by hand
$(TARGET).CFLAGS += -DUSE_LINUX_SIGNAL
# -----------------------------------------------------------------------
# default LED configuration