Project

General

Profile

Revision 883

Wireless for bayboard sort of works. I still left in all my debugging information though, and it doesn't seem to work quite as well as the other two. Some more work is needed.

View differences:

main.c
5 5
int main(int argc, char** argv)
6 6
{
7 7
	bayboard_init(ALL_ON);
8
	usb_puts("Start.\n");
8
	usb_puts("Start.\n\r");
9 9
	set_orb(0, 0, 200);
10 10
	wl_init();
11
	//wl_set_channel(0xf);
11 12
	set_orb(0, 200, 0);
12
	/*if (wl_token_ring_register() < 0)
13
		usb_puts("Failed to register token ring.\n");
13
	if (wl_token_ring_register() < 0)
14
		usb_puts("Failed to register token ring.\n\r");
14 15
	if (wl_token_ring_join() < 0)
15
		usb_puts("Failed to join token ring.\n");*/
16
	usb_puts("Wireless initialized.\n");
17
	//while (1)
18
	//	wl_do();
16
		usb_puts("Failed to join token ring.\n\r");
17
	usb_puts("Wireless initialized.\n\r");
18
	while (1)
19
		wl_do();
19 20
	return 0;
20 21
}
21 22

  

Also available in: Unified diff