Skip to content

Commit 7e565c9

Browse files
committed
Logs: put lower level for some logs
In fact, as they are often print together, they don't add any value.
1 parent f759d47 commit 7e565c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/platform/linux/serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ static ssize_t get_single_char(unsigned char * c, unsigned int timeout_ms)
177177
}
178178
} while (attempts-- > 0);
179179

180-
LOGW("Timeout to wait for char on serial line\n");
180+
LOGD("Timeout to wait for char on serial line\n");
181181
return 0;
182182
}
183183

lib/wpc/slip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ int Slip_get_buffer(uint8_t * buffer, uint32_t len, uint16_t timeout_ms)
253253
res = read_function(&read, timeout_ms);
254254
if (res == 0)
255255
{
256-
LOGW("Timeout to receive frame (size=%d)\n", size);
256+
LOGD("Timeout to receive frame (size=%d)\n", size);
257257
return WPC_INT_TIMEOUT_ERROR;
258258
}
259259
else if (res < 0 || res > 1)

lib/wpc/wpc_internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ static int get_indication_locked(unsigned int max_ind, onIndicationReceivedLocke
263263
ret = send_request_locked(&request, &confirm, TIMEOUT_CONFIRM_MS);
264264
if (ret < 0)
265265
{
266-
LOGE("Unable to poll for request\n");
266+
LOGE("No poll answer\n");
267267
return ret;
268268
}
269269

0 commit comments

Comments
 (0)