cryptnox-pos
1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
Toggle main menu visibility
Loading...
Searching...
No Matches
wdt.h
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: LGPL-3.0-or-later
3
* Copyright (c) 2026 Cryptnox SA
4
*/
5
21
22
#ifndef WDT_H
23
#define WDT_H
24
25
#include "esp_task_wdt.h"
26
28
static
inline
void
wdt_feed
(
void
)
29
{
30
if
(esp_task_wdt_status(NULL) == ESP_OK) { (void)esp_task_wdt_reset(); }
31
}
32
33
#endif
/* WDT_H */
wdt_feed
static void wdt_feed(void)
Feed the task watchdog if, and only if, the calling task is subscribed.
Definition
wdt.h:28
main
wdt.h
Generated by
1.17.0