diff --git a/configs/mikroe-stm32f4/src/stm32_pwm.c b/configs/mikroe-stm32f4/src/stm32_pwm.c index bad3819dd00..2ef8d6c9e63 100644 --- a/configs/mikroe-stm32f4/src/stm32_pwm.c +++ b/configs/mikroe-stm32f4/src/stm32_pwm.c @@ -133,7 +133,7 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif } diff --git a/configs/stm32f103-minimum/src/stm32_pwm.c b/configs/stm32f103-minimum/src/stm32_pwm.c index 8f7e99f839f..5248e489219 100644 --- a/configs/stm32f103-minimum/src/stm32_pwm.c +++ b/configs/stm32f103-minimum/src/stm32_pwm.c @@ -133,7 +133,7 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif } diff --git a/configs/stm32f3discovery/src/stm32_pwm.c b/configs/stm32f3discovery/src/stm32_pwm.c index 5eb075c51d3..262c1bc851a 100644 --- a/configs/stm32f3discovery/src/stm32_pwm.c +++ b/configs/stm32f3discovery/src/stm32_pwm.c @@ -133,7 +133,7 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif } diff --git a/configs/stm32f4discovery/src/stm32_pwm.c b/configs/stm32f4discovery/src/stm32_pwm.c index 0eaefc93718..1b8468d2bb8 100644 --- a/configs/stm32f4discovery/src/stm32_pwm.c +++ b/configs/stm32f4discovery/src/stm32_pwm.c @@ -131,6 +131,6 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif } diff --git a/configs/stm32ldiscovery/src/stm32_pwm.c b/configs/stm32ldiscovery/src/stm32_pwm.c index 3409fccc8eb..908307565ce 100644 --- a/configs/stm32ldiscovery/src/stm32_pwm.c +++ b/configs/stm32ldiscovery/src/stm32_pwm.c @@ -133,7 +133,7 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif }