#include <rdline.h>
#include <timer.h>
+#include "eeprom_config.h"
#include "beep.h"
#include "main.h"
val += 512;
spi_servo_set(0, val);
break;
- }
+ }
case RC_PROTO_TYPE_RANGE: {
struct rc_proto_range *rcr =
(struct rc_proto_range *) recvframe->data;
fprintf(stderr, "cannot register default channel\n");
return -1;
}
-
sei();
+ eeprom_load_config();
xbee_mainloop();
return 0;
}