This commit is contained in:
wn
2014-01-17 22:00:39 +01:00
commit 6f9d7c6f9f
18 changed files with 1080 additions and 0 deletions

11
fatal.cpp Normal file
View File

@ -0,0 +1,11 @@
#include <avr/interrupt.h>
#include"fatal.h"
void fatal(uint8_t code) {
cli();
// do something with the code and somehow show that there is a problem
while (1);
}