mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 17:43:22 +08:00
Currently, the `read` function of the watchdog device is dummy and does nothing. Although this is fine, it's not useful at all from a userspace perspective, where you may want to check the current WDOG status. A wrapper around the `ioctl` `WDIOC_GETSTATUS` has been added as the `read` function for the WDOG. Signed-off-by: Javier Alonso <javieralonso@geotab.com>