/* Idle hook callback for Idle Tasks to reset the TWDT. This callback will only be registered to the Idle Hook of a particular core when the corresponding Idle Task subscribes to the TWDT.  */
static bool idle_hook_cb(void)
/* Idle hook callback for Idle Tasks to reset the TWDT. This callback will only be registered to the Idle Hook of a particular core when the corresponding Idle Task subscribes to the TWDT.  */
static bool idle_hook_cb(void)
{
    esp_task_wdt_reset();
    return true;
}