usb: device_next: Update remote wakeup log level
The `Remote wakeup feature not enabled or not suspended` log is not related to an actual error (connected host might not enable USB remote wakeup feature). Use warning log level. Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
This commit is contained in:
parent
4fc6506a8a
commit
059643062c
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ int usbd_wakeup_request(struct usbd_context *const uds_ctx)
|
|||
}
|
||||
|
||||
if (!uds_ctx->status.rwup || !usbd_is_suspended(uds_ctx)) {
|
||||
LOG_ERR("Remote wakeup feature not enabled or not suspended");
|
||||
LOG_WRN("Remote wakeup feature not enabled or not suspended");
|
||||
ret = -EACCES;
|
||||
goto wakeup_request_error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue