Skip to content

Commit

Permalink
Update robot.c
Browse files Browse the repository at this point in the history
  • Loading branch information
alkaza authored Nov 30, 2017
1 parent c4020f3 commit f705f8a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/lib/robot.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "robot.h"

/* Min speed */
int min_speed = 60;
volatile int min_speed = 70;
/* Track current flag */
volatile int turningR = 0;
volatile int turningL = 0;
Expand Down Expand Up @@ -94,12 +94,6 @@ void move_slow(char dir, int speedA, int speedB)
}
}

/* Set min speed */
void set_min_speed(int speed)
{
min_speed = speed;
}

/* Initialize ultrasonic sensor */
void ultraInit(void)
{
Expand Down

0 comments on commit f705f8a

Please sign in to comment.