We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 448a366 commit 6a079e6Copy full SHA for 6a079e6
examples/tutorials/thread_network/11_sensor_ipc/main.c
@@ -15,6 +15,7 @@ static void sensor_ipc_callback(int pid, int len, int buf,
15
if (len < ((int) sizeof(current_temperature))) {
16
// We do not inform the caller and simply return. We do print a log message:
17
puts("[thread-sensor] ERROR: sensor IPC invoked with too small buffer.\r\n");
18
+ return;
19
}
20
21
// The buffer is large enough, copy the current temperature into it:
0 commit comments