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.
2 parents 928ba0b + d74aaaf commit ff1517bCopy full SHA for ff1517b
examples/tutorials/thread_network/02_sensor_final/main.c
@@ -19,6 +19,7 @@ static void sensor_ipc_callback(int pid, int len, int buf,
19
if (len < ((int) sizeof(current_temperature))) {
20
// We do not inform the caller and simply return. We do print a log message:
21
puts("[thread-sensor] ERROR: sensor IPC invoked with too small buffer.\r\n");
22
+ return;
23
}
24
25
// The buffer is large enough, copy the current temperature into it:
0 commit comments