From c92c25acfa556beddcfd055896b0e0d914236d4c Mon Sep 17 00:00:00 2001 From: Marwan B <marwan.bayoumi@gmail.com> Date: Thu, 24 Nov 2022 15:39:02 +0100 Subject: [PATCH] remove redundancies again --- Darmstadt.txt | 49 ------------------------------------ Dieburg.txt | 24 ------------------ Griesheim.txt | 34 ------------------------- createManual_true_oneFits.sh | 38 ---------------------------- true_one_fits_all.cpp | 6 ----- 5 files changed, 151 deletions(-) delete mode 100644 Darmstadt.txt delete mode 100644 Dieburg.txt delete mode 100644 Griesheim.txt delete mode 100644 createManual_true_oneFits.sh delete mode 100644 true_one_fits_all.cpp diff --git a/Darmstadt.txt b/Darmstadt.txt deleted file mode 100644 index 41354f1..0000000 --- a/Darmstadt.txt +++ /dev/null @@ -1,49 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="UTF-8"/> - <style> - .key {background-color:lightgrey;} - </style> - <title>User manual for Bluedot Darmstadt</title> - </head> - <body> - <h1>Bluedot Darmstadt</h1> - - <h2>Station tuning</h2> - <h3>Automatic tuning <span class="key">↑</span> / <span class="key">↓</span></h3> - <p>Press <span class="key">↑</span> / <span class="key">↓</span>; - the car radio will automatically search for the next station</p> - <p>If you hold <span class="key">↑</span> / <span class="key">↓</span>, - seek tuning will speed up in upwards or downwards direction. - </p> - - <h3>Seek tuning</h3> - <table> - <tr> - <td><span class="key">↑</span></td> - <td>Up</td> - </tr> - <tr> - <td><span class="key">↓</span></td> - <td>Down</td> - </tr> - <tr> - <td><span class="key"><<</span></td> - <td>Down in short intervals</td> - </tr> - <tr> - <td><span class="key">>></span></td> - <td>Up in short intervals</td> - </tr> - </table> - <h3>Manual tuning with <span class="key"><<</span> or <span class="key">>></span></h3> - <p>Press <span class="key"><<</span> or <span class="key">>></span>, - the frequency will change in short intervals downwards or upwards. - </p> - <p> - If you hold <span class="key"><<</span> or <span class="key">>></span> down, - the frequency scan will accelerate. - </p> - </body> -</html> diff --git a/Dieburg.txt b/Dieburg.txt deleted file mode 100644 index 4a469e6..0000000 --- a/Dieburg.txt +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="UTF-8" /> - <style> - .key {background-color:lightgrey;} - </style> - <title>User manual for Bluedot Dieburg</title> - </head> - <body> - <h1>Bluedot Dieburg</h1> - - <h2>Tuning into a station</h2> - <p>There are various ways of tuning into a station.</p> - - <h3>Automatic station seek tuning</h3> - <p>Press the <span class="key">↑</span> or <span class="key">↓</span> button.</p> - <p>The radio tunes into the next receiavable station</p> - - <h3>Tuning into stations manually</h3> - <p>You can also tune into stations manually.</p> - <p>Press the <span class="key">←</span> or <span class="key">→</span> button.</p> - </body> -</html> diff --git a/Griesheim.txt b/Griesheim.txt deleted file mode 100644 index 3ec5b4a..0000000 --- a/Griesheim.txt +++ /dev/null @@ -1,34 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="UTF-8"/> - <style> - .key {background-color:lightgrey;} - </style> - <title>User manual for Bluedot Griesheim</title> - </head> - <body> - <h1>Bluedot Griesheim</h1> - - <h2>Selecting a station</h2> - <p>The display will indicate the station name or, if no data is received, the frequency of the station currently playing.</p> - <p>There are several different ways of selecting a station:</p> - - <h3>...by station search or manually</h3> - <h4>Start the station search function by pressing</h4> - <p><span class="key">↑</span> (up) or <span class="key">↓</span> (down).</p> - <p>The station search will stop at the next station within reception range. - If you hold down <span class="key">↑</span> or <span class="key">↓</span>, - the station search will run forwards or backwards quickly. - </p> - - <h4>Start the manual search</h4> - <p>by pressing <span class="key"><<</span> or <span class="key">>></span>, - the frequency will move up or down in increments. - </p> - <p> - If you hold <span class="key"><<</span> or <span class="key">>></span> down, - then the frequency will run through quickly. - </p> - </body> -</html> diff --git a/createManual_true_oneFits.sh b/createManual_true_oneFits.sh deleted file mode 100644 index df5b302..0000000 --- a/createManual_true_oneFits.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -#clear - -# param1 is target, param2 is output-file - -NoOfParams="0" -if [ $1 ]; then - NoOfParams="1" -fi - -if [ $2 ]; then - NoOfParams="2" -fi - -if [ $3 ]; then - NoOfParams="3" -fi - -if [ ! -d "./oneFitsAll/" ]; then - mkdir -p ./oneFitsAll/translation -fi - -case $NoOfParams in - 1) - gcc -E -P -Wall -D $1 oneForAll.cpp - ;; - 2) # first param sets the config file to be used - gcc -E -P -Wall -D config=config/$1.cpp -o ./oneFitsAll/$2 true_one_fits_all.cpp - ;; - 3) - gcc -E -P -Wall -D $1 -D $2 -o ./oneFitsAll/translation/$3 oneForAll_include.cpp - ;; - *) - echo "No Radio specified. Try again!" - echo "1st parameter specifies radio (e.g. DARMSTADT)" - echo "2nd parameter specifies filename for output (e.g. Darmstadt.html)" - ;; -esac \ No newline at end of file diff --git a/true_one_fits_all.cpp b/true_one_fits_all.cpp deleted file mode 100644 index 83edf5e..0000000 --- a/true_one_fits_all.cpp +++ /dev/null @@ -1,6 +0,0 @@ -#define make_string(s) str(s) -#define str(s) #s - - #ifdef config - #include make_string(config) - #endif -- GitLab