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

View file

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