Skip to content
Commit 9a5525c3 authored by Alexander Wachter's avatar Alexander Wachter Committed by Carles Cufí
Browse files

include: clock_control: Fix int return value



The return value of clock_control_get_status is a clock_control_status
enum, but in case the device is not ready, an int is returned.
This leads to compiler errors. Introduced a new enum value
CLOCK_CONTROL_STATUS_UNAVAILABLE and return it instead of -ENODEV.

Signed-off-by: default avatarAlexander Wachter <alexander.wachter@leica-geosystems.com>
parent f52debbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment