Project

General

Profile

Revision 1282

Fixes: robot_read_bom_all

View differences:

dump_robot.c
50 50

  
51 51
void dump_robot_bom (void)
52 52
{
53
	uint16_t bom[16];
53
	int16_t bom[16];
54 54
	char c;
55 55
	
56 56
	while (usb_getc_nb (&c)==-1)
57 57
	{
58 58
		// First read all of the values, then print them, because it's much more readable that way.
59 59
		
60
		for (uint8_t i=0; i<16; ++i)
61
			robot_read_bom (i, &bom[i]);
62
		//robot_read_bom_all (bom);
60
		//for (uint8_t i=0; i<16; ++i)
61
			//robot_read_bom (i, &bom[i]);
62
		
63
		robot_read_bom_all (bom);
63 64

  
64 65
		for (uint8_t i=0; i<16; ++i)
65 66
		{

Also available in: Unified diff