MAPID/CP: Fixed parameter type of default handler and removed unnecessary header include

This commit is contained in:
Malte Bublitz 2023-10-31 17:57:07 +01:00
parent 803b5000c1
commit b4c242d48f
Signed by: malte70
GPG Key ID: 605DA5C729F9C184
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@
* *
* Malte's Arduino-Powered Info Display Control Program * Malte's Arduino-Powered Info Display Control Program
*/ */
#include <SoftwareSerial.h>
#include <serLCD.h> #include <serLCD.h>
#include <SerialCommand.h> #include <SerialCommand.h>
#include <avr/pgmspace.h> #include <avr/pgmspace.h>
@ -75,7 +74,7 @@ void loop() {
SCmd.readSerial(); SCmd.readSerial();
} }
void commandNotFound(char *cmd) { void commandNotFound(const char *cmd) {
Serial.println(""); Serial.println("");
//Serial.println("[ERROR @ TTY:IN] COMMAND NOT FOUND!"); //Serial.println("[ERROR @ TTY:IN] COMMAND NOT FOUND!");
Serial.println("[ERROR] COMMAND NOT FOUND!"); Serial.println("[ERROR] COMMAND NOT FOUND!");