ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
watchdog.c File Reference
#include "watchdog.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "hardware/watchdog.h"
#include "wizchip_conf.h"
#include "wizchip_qspi_pio.h"
#include "system/common.h"
Include dependency graph for watchdog.c:

Go to the source code of this file.

Functions

void reboot (void)
 Reboots by resetting the watchdog.
 

Function Documentation

◆ reboot()

void reboot ( void  )

Reboots by resetting the watchdog.

Definition at line 28 of file watchdog.c.

References FLUSH_LOG_BEFORE_REBOOT_MS, and LOG_PLAIN.

Referenced by event_dispatch().

Here is the caller graph for this function: