From 6f07eedebcb45f1c7d4631d87a6fea33ff132d1b Mon Sep 17 00:00:00 2001 From: phl0 Date: Sun, 30 Oct 2016 22:51:07 +0100 Subject: [PATCH] Correct spaces in order to make mmdvmmenu.sh work (again) --- Config.h | 6 +++--- mmdvmmenu.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Config.h b/Config.h index f12e1a0..28bcc03 100644 --- a/Config.h +++ b/Config.h @@ -40,13 +40,13 @@ // #define ARDUINO_MODE_PINS // For the original Arduino Due pin layout -// #define ARDUINO_DUE_PAPA +// #define ARDUINO_DUE_PAPA // For the ZUM V1.0 and V1.2 boards pin layout -#define ARDUINO_DUE_ZUM_V10_V12 +#define ARDUINO_DUE_ZUM_V10_V12 // For the SP8NTH board -// #define ARDUINO_DUE_NTH +// #define ARDUINO_DUE_NTH // To use wider C4FSK filters for DMR, System Fusion and P25 on transmit // #define WIDE_C4FSK_FILTERS_TX diff --git a/mmdvmmenu.sh b/mmdvmmenu.sh index 61c38a3..0fa8b5d 100755 --- a/mmdvmmenu.sh +++ b/mmdvmmenu.sh @@ -82,7 +82,7 @@ EOF "3") sed -e 's/\/\/ #define EXTERNAL_OSC 19200000/#define EXTERNAL_OSC 19200000/' $conf > $conf.tmp && mv -f $conf.tmp $conf && echo "19.2 MHz clock enabled";; "4") sed -e 's/\/\/ #define USE_COS_AS_LOCKOUT /#define USE_COS_AS_LOCKOUT/' $conf > $conf.tmp && mv -f $conf.tmp $conf && echo "COS as Lockout enabled";; "5") sed -e 's/\/\/ #define ARDUINO_MODE_PINS/#define ARDUINO_MODE_PINS/' $conf > $conf.tmp && mv -f $conf.tmp $conf && echo "Mode pins Enabled";; - "6") sed -e 's/\/\/ #define ARDUINO_DUE_PAPA/#define ARDUINO_DUE_PAPA/' $conf > $conf.tmp && mv -f $conf.tmp $conf && echo "Layout for the PAPA board enabled";; + "6") sed -e 's/\/\/ #define ARDUINO_DUE_PAPA/#define ARDUINO_DUE_PAPA/' $conf > $conf.tmp && mv -f $conf.tmp $conf && echo "Layout for the PAPA board enabled";; "7") sed -e 's/\/\/ #define ARDUINO_DUE_ZUM_V10_V12/#define ARDUINO_DUE_ZUM_V10_V12/' $conf > $conf.tmp && mv -f $conf.tmp $conf && echo "Layout for ZUM V1.0 and V1.2 boards enabled";; "8") sed -e 's/\/\/ #define ARDUINO_DUE_NTH/#define ARDUINO_DUE_NTH/' $conf > $conf.tmp && mv -f $conf.tmp $conf && echo "Layout for SP8NTH board enabled";; "9") sed -e 's/\/\/ #define SERIAL_REPEATER/#define SERIAL_REPEATER/' $conf > $conf.tmp && mv -f $conf.tmp $conf && echo "Modem display driver enabled";;