You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
213 B
23 lines
213 B
|
15 years ago
|
#include "main.h"
|
||
|
|
#include "spi.h"
|
||
|
|
|
||
|
|
|
||
|
|
void hardinit() {
|
||
|
|
/* initializes the hardware */
|
||
|
|
|
||
|
|
sei();
|
||
|
|
}
|
||
|
|
|
||
|
|
void softinit() {
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
int __attribute__((noreturn)) main(void) {
|
||
|
|
hardinit();
|
||
|
|
softinit();
|
||
|
|
|
||
|
|
for(;;){
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|