Project

General

Profile

Revision 1856

Added by Dan Jacobs over 13 years ago

minor bug fix

View differences:

trunk/code/projects/linefollowing/lineDrive.c
20 20

  
21 21
int doDrive(int speed)
22 22
{
23
	if(stopped)return NORMAL;
23
	if(stopped)
24
	{
25
		motor_l_set(FORWARD, 0);
26
		moror_r_set(FORWARD, 0);
27
		return NORMAL;
28
	}
24 29

  
30

  
25 31
	int code;
26 32
	switch(state[0])
27 33
	{	

Also available in: Unified diff