mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 04:07:55 +00:00
In comp_ioctl(), propagate the return code of comp_enable() to caller so failures (such as when the comparator CSR register is locked) return -EPERM. Also call comp_lock_set() if the comparator was configured with locking, handling cases where initialization was delayed. Assisted-by: Gemini:gemini-3.8-pro Signed-off-by: Daniel P. Carvalho <danieloak@gmail.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||