Project

General

Profile

Revision 1202

Station/server communication:
- Implemented backspace handling
- Implemented all test starting commands with parameter
Tests:
- Added functions for testing only one component of a kind
- Made function names consistent with server commands

View differences:

test_encoders.c
34 34

  
35 35
}
36 36

  
37

  
38
void test_encoders (void)
37
void test_encoder_all (void)
39 38
{
40 39
	usb_puts("# Testing encoders" NL);
41 40

  
......
47 46
	usb_puts("# Testing encoders finished" NL);
48 47
}
49 48

  
49
void test_encoder (uint8_t num)
50
{
51
	if (!(num==1 || num==2)) return;
52
	
53
	// TODO implement single encoder testing
54
	test_encoder_all ();
55
}

Also available in: Unified diff