mirror of
https://github.com/apache/nuttx.git
synced 2026-10-17 19:18:55 +00:00
In last commit, ENODEV is a better error to report than ENOSYS.
This commit is contained in:
parent
d829c03656
commit
e5e5467097
5 changed files with 5 additions and 5 deletions
|
|
@ -133,7 +133,7 @@ int stm32_pwm_setup(void)
|
|||
|
||||
return OK;
|
||||
#else
|
||||
return -ENOSYS;
|
||||
return -ENODEV;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ int stm32_pwm_setup(void)
|
|||
|
||||
return OK;
|
||||
#else
|
||||
return -ENOSYS;
|
||||
return -ENODEV;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ int stm32_pwm_setup(void)
|
|||
|
||||
return OK;
|
||||
#else
|
||||
return -ENOSYS;
|
||||
return -ENODEV;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -131,6 +131,6 @@ int stm32_pwm_setup(void)
|
|||
|
||||
return OK;
|
||||
#else
|
||||
return -ENOSYS;
|
||||
return -ENODEV;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ int stm32_pwm_setup(void)
|
|||
|
||||
return OK;
|
||||
#else
|
||||
return -ENOSYS;
|
||||
return -ENODEV;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue