Skip to content

Commit 4c22946

Browse files
committed
test: RPC client server-side excp debug msg
1 parent 204e2d9 commit 4c22946

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/rpc_lite_client/rpc_lite_client.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ void loop() {
3838
}
3939

4040
ok = client.call("divi", result, 2.0, 0.0);
41-
42-
if (ok) {
43-
Serial.print("Result: ");
44-
Serial.println(result);
41+
if (!ok) {
42+
Serial.print("Testing Server-side exception OK");
4543
}
4644

4745
int rand_int;

0 commit comments

Comments
 (0)