|
Mod Library
Sun Devil Rocketry's hardware agnostic utility library
|
Contains error-related functions for SDR code. More...
#include <string.h>#include <stdbool.h>#include "main.h"#include "math_sdr.h"#include "error_sdr.h"Functions | |
| void | error_fail_fast (volatile ERROR_CODE error_code) |
| Dispatches an error to its registered callback or default handler. | |
Variables | |
| TEXT_MESSAGE | last_warning |
| bool | is_pending_warning = false |
| TEXT_MESSAGE | last_info |
| bool | is_pending_info = false |
| volatile ERROR_CALLBACK | default_error_handler = { 0, dflt_error_handler } |
Contains error-related functions for SDR code.
Copyright (c) 2026 Sun Devil Rocketry. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is covered under the
BSD-3-Clause.
| void error_fail_fast | ( | volatile ERROR_CODE | error_code | ) |
Dispatches an error to its registered callback or default handler.
Handles an error using the configured error callback.
| error_code | Error code to handle. |
Dispatches an error to its registered callback or default handler.
| error_code | Error code to handle. |