more stuff

This commit is contained in:
hg
2014-02-23 21:12:13 +01:00
parent bc8a9023aa
commit 7c2ff00bc4
12 changed files with 351 additions and 19 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);
}