Project

General

Profile

Revision 323

Added by Greg Tress over 16 years ago

Removed debugging statements.

View differences:

xbee.c
181 181
	#endif
182 182
	sei();
183 183
	#else
184
	printf("Connecting to port %s.\n", xbee_com_port);
184 185
	xbee_stream = open(xbee_com_port, O_RDWR);
185 186
	if (xbee_stream == -1/* || lockf(xbee_stream, F_TEST, 0) != 0*/)
186 187
	{
......
231 232
	
232 233
	#endif
233 234
	xbee_enter_command_mode();
234
	printf("Entered command mode.\n");
235 235
	xbee_enter_api_mode();
236
	printf("Entered API mode.\n");
237 236
	xbee_exit_command_mode();
238
	printf("Exited command mode.\n");
239 237
	xbee_send_read_at_command("MY");
240
	printf("Requested MY id.\n");
241 238
	
242 239
	//wait to return until the address is set
243 240
	while (xbee_address == 0) xbee_get_packet(NULL);
244 241

  
245
	printf("Returning from xbee_lib_init.\n");
246 242

  
247 243
	return 0;
248 244
}
......
373 369
		if (queue_is_empty(xbee_queue))
374 370
			continue;
375 371
		char c = (char)(int)queue_remove(xbee_queue);
376
		if (c == '\n')
377
			printf("\\r");
378 372
		if (c == *curr)
379 373
			curr++;
380 374
		else

Also available in: Unified diff