rafacouto opened a new issue #2404:
URL: https://github.com/apache/mynewt-core/issues/2404


   Watchdog HAL [documentation, function 
*hal_watchdog_init()*](https://mynewt.apache.org/latest/os/modules/hal/hal_watchdog/hal_watchdog.html#c.hal_watchdog_init)
 says it **returns expiration time as positive value**.
   
   However, [nrf52 
implementation](https://github.com/apache/mynewt-core/blob/master/hw/mcu/nordic/nrf52xxx/src/hal_watchdog.c#L44)
 returns always 0.
   
   Is the documentation wrong? the implementation?
   
       // test assertion
       assert(hal_watchdog_init(1000) > 0);


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to