Skip to content

Commit

Permalink
Allow zero speed in settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
cody82 committed Jan 15, 2017
1 parent c955f28 commit 1ba464a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion car_app/main_ble.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static void loop()
{
t = SettingsData.MaxBackwardSpeed;
}
if(t > 100)
if(t > 100 || t == 0)
t = 100;

t = t * ble_car.packet.throttle * 256 / 100;
Expand Down

0 comments on commit 1ba464a

Please sign in to comment.