diff --git a/FlippR-Driver/cli/main.cpp b/FlippR-Driver/cli/main.cpp index 82b8acf..ef08244 100644 --- a/FlippR-Driver/cli/main.cpp +++ b/FlippR-Driver/cli/main.cpp @@ -24,6 +24,7 @@ int main (int argc, char *argv[]) if(argc != 3) { std::cout << "Usage: " << argv[0] << " "; + exit(1); } signal(SIGINT, siginthandler); diff --git a/FlippR-Driver/contrib/Input_Matrix_Config.json b/FlippR-Driver/contrib/Input_Matrix_Config.json index be59ce7..021ab8e 100644 --- a/FlippR-Driver/contrib/Input_Matrix_Config.json +++ b/FlippR-Driver/contrib/Input_Matrix_Config.json @@ -1,6 +1,6 @@ { "input_matrix" : - { + [ { "name" : "Out hole", "address" : 16, @@ -186,7 +186,6 @@ "name" : "Rising ball contact", "address" : 52, "priority" : 2 - }, - } -} + } + ] } \ No newline at end of file