diff options
-rw-r--r-- | app.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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(); } |