On Wed, May 08, 2024 at 12:31:14PM +0200, Marek Behún wrote: > Add support for the watchdog mechanism provided by the MCU. ... > + return omnia_cmd_write_u16(mcu->client, OMNIA_CMD_SET_WDT_TIMEOUT, > + timeout * 10); DECI (from units.h) ... > + return timeleft / 10; Ditto. ... > + mcu->wdt.max_timeout = 6553; /* 65535 deciseconds */ Ditto. mcu->wdt.max_timeout = 65536 / DECI; (and no need in a comment) -- With Best Regards, Andy Shevchenko