Project

General

Profile

Revision 706

This is the first attempt at porting the wireless library to the charge bay board. This mostly involved a lot of complicated #defines to change hardware interface. ROBOT and BAYBOARD should be defined when compiling, which currently I think is handled in the Makefile with -D arguments. This code does not work, still working on debugging.

View differences:

wireless.c
40 40
#include "wl_defs.h"
41 41

  
42 42
#ifndef ROBOT
43
#include <sys/time.h>
44
#include <signal.h>
43
	#include <sys/time.h>
44
	#include <signal.h>
45 45
#else
46
#include <time.h>
47
#ifndef FIREFLY
48
#include <bom.h>
46
	#include <time.h>
47
	#ifndef FIREFLY
48
		#ifdef BAYBOARD
49
			#include <lbom.h>
50
		#else
51
			#include <bom.h>
52
		#endif
53
	#endif
49 54
#endif
50
#endif
51 55

  
52 56
/*Function Prototypes*/
53 57

  

Also available in: Unified diff