aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/app.cpp b/app.cpp
index 05feaaa..a46734e 100644
--- a/app.cpp
+++ b/app.cpp
@@ -325,7 +325,8 @@ void write_req(struct sm_req const& req) {
break;
default:
- Serial.print("Unknown command!");
+ Serial.print("Unknown command: ");
+ Serial.print(req.code);
}
Serial.println();
}
@@ -371,7 +372,8 @@ void write_res(struct sm_res const& res) {
break;
default:
- Serial.print("Unknown command!");
+ Serial.print("Unknown command: ");
+ Serial.print(res.code);
}
Serial.println();
}