|
ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
|
#include "error.h"#include <stdbool.h>#include "hardware/watchdog.h"#include "pico/platform/common.h"#include "pico/time.h"#include "system/common.h"
Go to the source code of this file.
Macros | |
| #define | WATCHDOG_PANIC_REBOOT_TIME_MS 50U |
Functions | |
| void | fatal_panic (e2s_error_t reason) |
| Print error message and panic. | |
| void fatal_panic | ( | e2s_error_t | reason | ) |
Print error message and panic.
| reason | Error code. |
Definition at line 30 of file error.c.
References FLUSH_LOG_BEFORE_REBOOT_MS, LOG_ERROR, and WATCHDOG_PANIC_REBOOT_TIME_MS.
Referenced by ev_set_net_settings(), main(), and w5500_driver_init().
