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:

wireless.c
115 115
#ifdef FIREFLY
116 116
	rtc_init(PRESCALE_DIV_256, 32, &timer_handler);
117 117
#else
118
	rtc_init(HALF_SECOND, &timer_handler);
118
	//TODO: FIX THIS
119
	rtc_init(10 * HALF_SECOND, &timer_handler);
119 120
#endif
120 121
#else
121 122

  
......
428 429
	}
429 430
	else if (wl_buf[0] == XBEE_RX)
430 431
	{
432
		usb_puti(len);
433
		usb_puts("Got packet!\n\r");
431 434
    //TODO: what does this 7 represent?  It shouldn't be hardcoded.  It should be set as a define
432 435
		if (len < 7)
433 436
		{

Also available in: Unified diff