Skip to content

How to call a handler (outside millisTimer) #3

@EmilianoQS

Description

@EmilianoQS

Well, thats the question... What's te right way to call a handler used for MillisTimer.

For example, I have the handler used for MT:

void timerWDTresetHandler   (MillisTimer &mt){
  esp_task_wdt_reset();
}

And I want to call it sometimes like timerWDTresetHandler(); or something like that.

I could do some workarounds to do this, but what would be the right way of doing it?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions