Project

General

Profile

Revision 1513

slightly modified makefile, added more error checking to bom beacon code

View differences:

main.c
4 4
{
5 5

  
6 6
	/* initialize components, set wireless channel */
7
	dragonfly_init(ALL_ON);
7
	if (dragonfly_init(ANALOG|ORB|BOM) != 0) {
8
    orbs_set_color(YELLOW, YELLOW);
9
    while(1) { ; }
10
  }
8 11

  
9
	bom_on();
12
	if (bom_on() != 0) {
13
    orbs_set_color(RED, RED);
14
    while(1) { ; }
15
  }
16
  
10 17
	
11 18
	while (1) {
12 19

  

Also available in: Unified diff