raiden00pl commented on code in PR #15079: URL: https://github.com/apache/nuttx/pull/15079#discussion_r1875575990
########## drivers/pcnt/Kconfig: ########## @@ -0,0 +1,19 @@ +# +# For a description of the syntax of this configuration file, +# see the file kconfig-language.txt in the NuttX tools repository. +# + +menuconfig PCNT + bool "PCNT (Pulse Counter) Driver Support" + default n + ---help--- + This option selects common PCNT (Pulse Counter) options and should be + enabled by the platforms that implement a Pulse Counter Peripheral. + +if PCNT + +config PCNTCHAR Review Comment: Why not add additional ioctl `CAPIOC_PULSES` to `capture.c` ? If the lower half implementation doesn't support freq or duty, then you can simply return an error code from the lower half implementation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
