aboutsummaryrefslogtreecommitdiffstats
path: root/src/odr-padenc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/odr-padenc.cpp')
-rw-r--r--src/odr-padenc.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/odr-padenc.cpp b/src/odr-padenc.cpp
index 6536999..1edec27 100644
--- a/src/odr-padenc.cpp
+++ b/src/odr-padenc.cpp
@@ -27,26 +27,7 @@
\author Stefan Pöschel <odr@basicmaster.de>
*/
-#include "common.h"
-
-#include <stdlib.h>
-#include <signal.h>
-#include <string>
-#include <thread>
-#include <vector>
-#include <sys/types.h>
-#include <fcntl.h>
-#include <getopt.h>
-
-#include "pad_common.h"
-#include "dls.h"
-#include "sls.h"
-
-
-static const int SLEEPDELAY_DEFAULT = 10; // seconds
-static const int DLS_REPETITION_WHILE_SLS = 50;
-
-static bool do_exit = false;
+#include "odr-padenc.h"
static void break_handler(int) {
@@ -54,7 +35,6 @@ static void break_handler(int) {
do_exit = true;
}
-
static void header() {
fprintf(stderr, "ODR-PadEnc %s - DAB PAD encoder for MOT Slideshow and DLS\n\n"
"By CSP Innovazione nelle ICT s.c.a r.l. (http://rd.csp.it/) and\n"