add_entry() function
Create a task/user entry and add it to the task WDT
Arguments
is_task
Whether the entry is a task entry or user entry
entry_data
Data associated with the entry (either a task handle or user entry name)
entry_ret
Pointer to created entry
Return value
ESP_OK if entry was added, failure otherwise