Hi ,Martin
   Thank your for your suggest, I initially followed this method, but found 
that the dog could not be fed successfully. Our external microcontroller feeds 
the dog. The cpu just gives the microcontroller a trigger signal, but I tested 
that the microcontroller cannot detect the level change using this method you 
said So I used the script.

  ------------------ Original ------------------From:  "Martin 
Blumenstingl"<martin.blumensti...@googlemail.com>;Date:  Fri, Apr 10, 2020 
05:55 PMTo:  "guilin.w...@gl-inet.com"<guilin.w...@gl-inet.com>; Cc:  
"openwrt-devel"<openwrt-devel@lists.openwrt.org>; Subject:  Re: [OpenWrt-Devel] 
[PATCH] om-watchdog: Add support for GL-X1200 (GL.iNet) Hi,

On Fri, Apr 10, 2020 at 11:47 AM guilin.w...@gl-inet.com
<guilin.w...@gl-inet.com> wrote:
>
> Signed-off-by: guilin.w...@gl-inet.com <guilin.w...@gl-inet.com>
the format should be "your name <em...@address.com>"

> ---
>  package/kernel/om-watchdog/Makefile               |  2 +-
>  package/kernel/om-watchdog/files/om-watchdog      | 40 
> +++++++++++++++++++----
>  package/kernel/om-watchdog/files/om-watchdog.init |  2 ++
>  3 files changed, 37 insertions(+), 7 deletions(-)
why not use a GPIO watchdog node in board.dts instead? see [0] for an example


Martin


[0] 
https://github.com/torvalds/linux/blob/v5.4/Documentation/devicetree/bindings/watchdog/gpio-wdt.txt
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to