MCPcopy Create free account
hub / github.com/DexterInd/GoPiGo3 / fatal_error

Function fatal_error

Software/C/GoPiGo3.h:80–82  ·  view source on GitHub ↗

Function to call if an error occured that can not be resolved, such as failure to set up SPI

Source from the content-addressed store, hash-verified

78
79// Function to call if an error occured that can not be resolved, such as failure to set up SPI
80void fatal_error(const char *error){
81 throw std::runtime_error(error);
82}
83
84//struct timespec _time;
85struct timeval _time;

Callers 9

GoPiGo3Method · 0.85
detectMethod · 0.85
get_motor_statusMethod · 0.85
get_motor_encoderMethod · 0.85
grove_i2c_startMethod · 0.85
get_grove_valueMethod · 0.85
get_grove_stateMethod · 0.85
get_grove_voltageMethod · 0.85
get_grove_analogMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected