diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-28 09:49:16 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-28 09:49:16 +0100 |
commit | 58776682e2bf94043dd79d0131c69947ef27dcae (patch) | |
tree | 28fefd85af056450023d41f6f8dcdc4d280ca08c | |
parent | 08c4dca9cb42d419c471d8117848515e8100d614 (diff) | |
download | trygvisio_soil_moisture-58776682e2bf94043dd79d0131c69947ef27dcae.tar.gz trygvisio_soil_moisture-58776682e2bf94043dd79d0131c69947ef27dcae.tar.bz2 trygvisio_soil_moisture-58776682e2bf94043dd79d0131c69947ef27dcae.tar.xz trygvisio_soil_moisture-58776682e2bf94043dd79d0131c69947ef27dcae.zip |
o Showing the value of the illegal command.
-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(); } |