Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
modm_abandon.hpp File Reference
#include "modm/architecture/interface/assert.hpp"
Include dependency graph for modm_abandon.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

modm_extern_c void modm_abandon (const modm::AssertionInfo &info)
 

Function Documentation

◆ modm_abandon()

modm_extern_c void modm_abandon ( const modm::AssertionInfo &  info)

Overwriteable abandonment handler for all targets.

You should overwrite this handler for custom failure behaviour like blinking LEDs and logging the failure via a serial connection.