ThermometerPro/fatal.cpp

13 lines
219 B
C++

#include"fatal.h"
#include <Arduino.h>
void fatal(uint8_t code) {
// cli();
// do something with the code and somehow show that there is a problem
Serial.print("Fatal: "); Serial.println(code);
while (1);
}