Added speed reset if there was no data for 1 sec