Stepper: optimization on timing calculations
Stepper: optimization on timing calculations

micros() is now called only once per cycle (instead of 3).

The rollover check is superflous because the "last_step_time" field
is unsigned.

shiitakeo/Arduino,myrtleTree33/Arduino,ntruchsess/Arduino-1,bigjosh/Arduino,pdNor/Arduino,eddyst/Arduino-SourceCode,NicoHood/Arduino,NeuralSpaz/Arduino,Gourav2906/Arduino,danielchalef/Arduino,NaSymbol/Arduino,jomolinare/Arduino,ForestNymph/Arduino_sources,kidswong999/Arduino,ssvs111/Arduino,paulmand3l/Arduino,sanyaade-iot/Arduino-1,myrtleTree33/Arduino,wayoda/Arduino,PeterVH/Arduino,zaiexx/Arduino,stevemayhew/Arduino,eduardocasarin/Arduino,zederson/Arduino,vbextreme/Arduino,tomkrus007/Arduino,ThoughtWorksIoTGurgaon/Arduino,nkolban/Arduino,zederson/Arduino,ashwin713/Arduino,acosinwork/Arduino,raimohanska/Arduino,ari-analytics/Arduino,ricklon/Arduino,radut/Arduino,ogferreiro/Arduino,eggfly/arduino,Chris--A/Arduino,spapadim/Arduino,henningpohl/Arduino,jabezGit/Arduino,eduardocasarin/Arduino,zenmanenergy/Arduino,ikbelkirasan/Arduino,paulo-raca/ESP8266-Arduino,tannewt/Arduino,Protoneer/Arduino,smily77/Arduino,laylthe/Arduino,sanyaade-iot/Arduino-1,superboonie/Arduino,byran/Arduino,tomkrus007/Arduino,jabezGit/Arduino,tommyli2014/Arduino,stevemayhew/Arduino,kidswong999/Arduino,wayoda/Arduino,byran/Arduino,zederson/Arduino,ForestNymph/Arduino_sources,shannonshsu/Arduino,nkolban/Arduino,jomolinare/Arduino,smily77/Arduino,kidswong999/Arduino,myrtleTree33/Arduino,garci66/Arduino,onovy/Arduino,talhaburak/Arduino,nkolban/Arduino,Cloudino/Arduino,tskurauskas/Arduino,mattvenn/Arduino,ogferreiro/Arduino,nandojve/Arduino,garci66/Arduino,niggor/Arduino_cc,mateuszdw/Arduino,spapadim/Arduino,eddyst/Arduino-SourceCode,karlitxo/Arduino,ogferreiro/Arduino,ssvs111/Arduino,paulmand3l/Arduino,pdNor/Arduino,fungxu/Arduino,Cloudino/Arduino,ogahara/Arduino,stevemayhew/Arduino,ashwin713/Arduino,paulo-raca/ESP8266-Arduino,sanyaade-iot/Arduino-1,gestrem/Arduino,lukeWal/Arduino,shannonshsu/Arduino,jabezGit/Arduino,stickbreaker/Arduino,tannewt/Arduino,gberl001/Arduino,lulufei/Arduino,jaimemaretoli/Arduino,ikbelkirasan/Arduino,karlitxo/Arduino,OpenDevice/Arduino,noahchense/Arduino-1,steamboating/Arduino,tommyli2014/Arduino,NeuralSpaz/Arduino,EmuxEvans/Arduino,steamboating/Arduino,gonium/Arduino,cscenter/Arduino,koltegirish/Arduino,drpjk/Arduino,sanyaade-iot/Arduino-1,garci66/Arduino,jabezGit/Arduino,jabezGit/Arduino,wdoganowski/Arduino,wilhelmryan/Arduino,sanyaade-iot/Arduino-1,mateuszdw/Arduino,lukeWal/Arduino,nkolban/Arduino,Gourav2906/Arduino,andyvand/Arduino-1,koltegirish/Arduino,lulufei/Arduino,tskurauskas/Arduino,eeijcea/Arduino-1,adamkh/Arduino,zaiexx/Arduino,KlaasDeNys/Arduino,chaveiro/Arduino,eggfly/arduino,noahchense/Arduino-1,NicoHood/Arduino,Cloudino/Cloudino-Arduino-IDE,talhaburak/Arduino,bigjosh/Arduino,lulufei/Arduino,PeterVH/Arduino,leftbrainstrain/Arduino-ESP8266,tskurauskas/Arduino,gonium/Arduino,nandojve/Arduino,adamkh/Arduino,tannewt/Arduino,pdNor/Arduino,eduardocasarin/Arduino,jomolinare/Arduino,nkolban/Arduino,ashwin713/Arduino,myrtleTree33/Arduino,ashwin713/Arduino,ogahara/Arduino,PeterVH/Arduino,ogferreiro/Arduino,chaveiro/Arduino,ektor5/Arduino,ikbelkirasan/Arduino,ashwin713/Arduino,ThoughtWorksIoTGurgaon/Arduino,acosinwork/Arduino,HCastano/Arduino,cscenter/Arduino,eeijcea/Arduino-1,Cloudino/Cloudino-Arduino-IDE,garci66/Arduino,shannonshsu/Arduino,mattvenn/Arduino,NicoHood/Arduino,mangelajo/Arduino,danielchalef/Arduino,spapadim/Arduino,ntruchsess/Arduino-1,adamkh/Arduino,henningpohl/Arduino,ektor5/Arduino,Chris--A/Arduino,niggor/Arduino_cc,Protoneer/Arduino,steamboating/Arduino,jmgonzalez00449/Arduino,onovy/Arduino,NaSymbol/Arduino,weera00/Arduino,Cloudino/Cloudino-Arduino-IDE,ektor5/Arduino,zaiexx/Arduino,eeijcea/Arduino-1,EmuxEvans/Arduino,ThoughtWorksIoTGurgaon/Arduino,tbowmo/Arduino,snargledorf/Arduino,andyvand/Arduino-1,aichi/Arduino-2,karlitxo/Arduino,ccoenen/Arduino,laylthe/Arduino,bigjosh/Arduino,zenmanenergy/Arduino,talhaburak/Arduino,nandojve/Arduino,bigjosh/Arduino,gberl001/Arduino,niggor/Arduino_cc,NicoHood/Arduino,garci66/Arduino,tomkrus007/Arduino,pdNor/Arduino,leftbrainstrain/Arduino-ESP8266,paulo-raca/ESP8266-Arduino,drpjk/Arduino,stevemayhew/Arduino,weera00/Arduino,majenkotech/Arduino,niggor/Arduino_cc,zaiexx/Arduino,pdNor/Arduino,cscenter/Arduino,ntruchsess/Arduino-1,smily77/Arduino,zenmanenergy/Arduino,niggor/Arduino_cc,me-no-dev/Arduino-1,mangelajo/Arduino,majenkotech/Arduino,ForestNymph/Arduino_sources,NicoHood/Arduino,jabezGit/Arduino,NicoHood/Arduino,bsmr-arduino/Arduino,Protoneer/Arduino,majenkotech/Arduino,ntruchsess/Arduino-1,acosinwork/Arduino,fungxu/Arduino,eggfly/arduino,KlaasDeNys/Arduino,tbowmo/Arduino,henningpohl/Arduino,mangelajo/Arduino,radut/Arduino,wilhelmryan/Arduino,ssvs111/Arduino,Protoneer/Arduino,tannewt/Arduino,danielchalef/Arduino,kidswong999/Arduino,leftbrainstrain/Arduino-ESP8266,ssvs111/Arduino,tannewt/Arduino,weera00/Arduino,KlaasDeNys/Arduino,nandojve/Arduino,Chris--A/Arduino,nandojve/Arduino,eduardocasarin/Arduino,Chris--A/Arduino,jmgonzalez00449/Arduino,arunkuttiyara/Arduino,spapadim/Arduino,HCastano/Arduino,henningpohl/Arduino,cscenter/Arduino,paulo-raca/ESP8266-Arduino,adamkh/Arduino,noahchense/Arduino-1,wilhelmryan/Arduino,raimohanska/Arduino,stickbreaker/Arduino,paulo-raca/ESP8266-Arduino,wilhelmryan/Arduino,mateuszdw/Arduino,snargledorf/Arduino,Alfredynho/AgroSis,tbowmo/Arduino,Cloudino/Cloudino-Arduino-IDE,andyvand/Arduino-1,smily77/Arduino,weera00/Arduino,lukeWal/Arduino,Cloudino/Cloudino-Arduino-IDE,eddyst/Arduino-SourceCode,Gourav2906/Arduino,jmgonzalez00449/Arduino,ccoenen/Arduino,drpjk/Arduino,niggor/Arduino_cc,weera00/Arduino,lukeWal/Arduino,radut/Arduino,ektor5/Arduino,spapadim/Arduino,ThoughtWorksIoTGurgaon/Arduino,Gourav2906/Arduino,bigjosh/Arduino,tannewt/Arduino,ricklon/Arduino,wdoganowski/Arduino,superboonie/Arduino,Cloudino/Arduino,gberl001/Arduino,gestrem/Arduino,talhaburak/Arduino,paulmand3l/Arduino,shiitakeo/Arduino,ogahara/Arduino,ricklon/Arduino,jmgonzalez00449/Arduino,tommyli2014/Arduino,me-no-dev/Arduino-1,chaveiro/Arduino,ForestNymph/Arduino_sources,Protoneer/Arduino,chaveiro/Arduino,Cloudino/Arduino,ari-analytics/Arduino,wayoda/Arduino,NeuralSpaz/Arduino,talhaburak/Arduino,mattvenn/Arduino,NeuralSpaz/Arduino,cscenter/Arduino,snargledorf/Arduino,ogahara/Arduino,paulmand3l/Arduino,cscenter/Arduino,drpjk/Arduino,paulmand3l/Arduino,mateuszdw/Arduino,jamesrob4/Arduino,gonium/Arduino,eduardocasarin/Arduino,paulo-raca/ESP8266-Arduino,talhaburak/Arduino,eduardocasarin/Arduino,ForestNymph/Arduino_sources,bsmr-arduino/Arduino,byran/Arduino,PeterVH/Arduino,ari-analytics/Arduino,majenkotech/Arduino,adafruit/ESP8266-Arduino,danielchalef/Arduino,vbextreme/Arduino,radut/Arduino,eggfly/arduino,radut/Arduino,myrtleTree33/Arduino,eddyst/Arduino-SourceCode,adafruit/ESP8266-Arduino,me-no-dev/Arduino-1,niggor/Arduino_cc,HCastano/Arduino,Alfredynho/AgroSis,fungxu/Arduino,jomolinare/Arduino,kidswong999/Arduino,gestrem/Arduino,Gourav2906/Arduino,mattvenn/Arduino,wilhelmryan/Arduino,aichi/Arduino-2,zederson/Arduino,nkolban/Arduino,ikbelkirasan/Arduino,jmgonzalez00449/Arduino,ccoenen/Arduino,jmgonzalez00449/Arduino,OpenDevice/Arduino,ari-analytics/Arduino,shiitakeo/Arduino,henningpohl/Arduino,jaimemaretoli/Arduino,ektor5/Arduino,NicoHood/Arduino,KlaasDeNys/Arduino,wayoda/Arduino,ccoenen/Arduino,vbextreme/Arduino,vbextreme/Arduino,mateuszdw/Arduino,tannewt/Arduino,PaoloP74/Arduino,byran/Arduino,adafruit/ESP8266-Arduino,karlitxo/Arduino,laylthe/Arduino,raimohanska/Arduino,steamboating/Arduino,gberl001/Arduino,wdoganowski/Arduino,paulmand3l/Arduino,PeterVH/Arduino,garci66/Arduino,EmuxEvans/Arduino,tskurauskas/Arduino,shiitakeo/Arduino,kidswong999/Arduino,ssvs111/Arduino,snargledorf/Arduino,mangelajo/Arduino,KlaasDeNys/Arduino,niggor/Arduino_cc,zederson/Arduino,tbowmo/Arduino,zaiexx/Arduino,garci66/Arduino,onovy/Arduino,lulufei/Arduino,nkolban/Arduino,mangelajo/Arduino,stickbreaker/Arduino,NaSymbol/Arduino,PaoloP74/Arduino,ccoenen/Arduino,eeijcea/Arduino-1,Cloudino/Cloudino-Arduino-IDE,snargledorf/Arduino,leftbrainstrain/Arduino-ESP8266,lukeWal/Arduino,fungxu/Arduino,tbowmo/Arduino,bsmr-arduino/Arduino,NeuralSpaz/Arduino,Cloudino/Arduino,acosinwork/Arduino,ForestNymph/Arduino_sources,Alfredynho/AgroSis,eddyst/Arduino-SourceCode,gberl001/Arduino,paulmand3l/Arduino,lulufei/Arduino,danielchalef/Arduino,Gourav2906/Arduino,NeuralSpaz/Arduino,raimohanska/Arduino,eeijcea/Arduino-1,OpenDevice/Arduino,jaimemaretoli/Arduino,andyvand/Arduino-1,KlaasDeNys/Arduino,Cloudino/Arduino,tommyli2014/Arduino,lukeWal/Arduino,cscenter/Arduino,PaoloP74/Arduino,me-no-dev/Arduino-1,mattvenn/Arduino,majenkotech/Arduino,bsmr-arduino/Arduino,tomkrus007/Arduino,stickbreaker/Arduino,chaveiro/Arduino,leftbrainstrain/Arduino-ESP8266,spapadim/Arduino,zenmanenergy/Arduino,eddyst/Arduino-SourceCode,Cloudino/Arduino,xxxajk/Arduino-1,aichi/Arduino-2,myrtleTree33/Arduino,ntruchsess/Arduino-1,ari-analytics/Arduino,gberl001/Arduino,onovy/Arduino,HCastano/Arduino,gestrem/Arduino,bigjosh/Arduino,ricklon/Arduino,eggfly/arduino,ashwin713/Arduino,jamesrob4/Arduino,cscenter/Arduino,tskurauskas/Arduino,majenkotech/Arduino,HCastano/Arduino,vbextreme/Arduino,mattvenn/Arduino,jamesrob4/Arduino,snargledorf/Arduino,wayoda/Arduino,ThoughtWorksIoTGurgaon/Arduino,koltegirish/Arduino,jamesrob4/Arduino,Gourav2906/Arduino,stevemayhew/Arduino,ccoenen/Arduino,gestrem/Arduino,ikbelkirasan/Arduino,HCastano/Arduino,PeterVH/Arduino,gestrem/Arduino,NaSymbol/Arduino,NaSymbol/Arduino,PaoloP74/Arduino,jabezGit/Arduino,wayoda/Arduino,jomolinare/Arduino,acosinwork/Arduino,Chris--A/Arduino,eeijcea/Arduino-1,nandojve/Arduino,ThoughtWorksIoTGurgaon/Arduino,shannonshsu/Arduino,Cloudino/Cloudino-Arduino-IDE,ntruchsess/Arduino-1,ikbelkirasan/Arduino,niggor/Arduino_cc,EmuxEvans/Arduino,shannonshsu/Arduino,steamboating/Arduino,radut/Arduino,pdNor/Arduino,vbextreme/Arduino,xxxajk/Arduino-1,arunkuttiyara/Arduino,jmgonzalez00449/Arduino,myrtleTree33/Arduino,ssvs111/Arduino,smily77/Arduino,HCastano/Arduino,ogferreiro/Arduino,shannonshsu/Arduino,tommyli2014/Arduino,smily77/Arduino,ikbelkirasan/Arduino,ogferreiro/Arduino,mateuszdw/Arduino,adafruit/ESP8266-Arduino,onovy/Arduino,shiitakeo/Arduino,majenkotech/Arduino,wdoganowski/Arduino,koltegirish/Arduino,ricklon/Arduino,stevemayhew/Arduino,tommyli2014/Arduino,vbextreme/Arduino,eddyst/Arduino-SourceCode,eggfly/arduino,zenmanenergy/Arduino,Alfredynho/AgroSis,andyvand/Arduino-1,ogferreiro/Arduino,andyvand/Arduino-1,kidswong999/Arduino,zenmanenergy/Arduino,raimohanska/Arduino,superboonie/Arduino,fungxu/Arduino,pdNor/Arduino,arunkuttiyara/Arduino,ektor5/Arduino,xxxajk/Arduino-1,andyvand/Arduino-1,sanyaade-iot/Arduino-1,koltegirish/Arduino,wdoganowski/Arduino,wilhelmryan/Arduino,arunkuttiyara/Arduino,PaoloP74/Arduino,HCastano/Arduino,ssvs111/Arduino,tommyli2014/Arduino,PaoloP74/Arduino,superboonie/Arduino,mateuszdw/Arduino,koltegirish/Arduino,sanyaade-iot/Arduino-1,PaoloP74/Arduino,laylthe/Arduino,EmuxEvans/Arduino,chaveiro/Arduino,ForestNymph/Arduino_sources,adafruit/ESP8266-Arduino,pdNor/Arduino,Chris--A/Arduino,Chris--A/Arduino,talhaburak/Arduino,ashwin713/Arduino,PaoloP74/Arduino,arunkuttiyara/Arduino,NicoHood/Arduino,wayoda/Arduino,byran/Arduino,henningpohl/Arduino,ntruchsess/Arduino-1,superboonie/Arduino,ashwin713/Arduino,ogahara/Arduino,jamesrob4/Arduino,jmgonzalez00449/Arduino,fungxu/Arduino,gonium/Arduino,bsmr-arduino/Arduino,adamkh/Arduino,gonium/Arduino,jaimemaretoli/Arduino,stickbreaker/Arduino,OpenDevice/Arduino,ari-analytics/Arduino,tomkrus007/Arduino,weera00/Arduino,eduardocasarin/Arduino,arunkuttiyara/Arduino,adamkh/Arduino,steamboating/Arduino,adamkh/Arduino,superboonie/Arduino,bsmr-arduino/Arduino,gestrem/Arduino,xxxajk/Arduino-1,noahchense/Arduino-1,NaSymbol/Arduino,drpjk/Arduino,lukeWal/Arduino,chaveiro/Arduino,byran/Arduino,ThoughtWorksIoTGurgaon/Arduino,stevemayhew/Arduino,superboonie/Arduino,xxxajk/Arduino-1,tskurauskas/Arduino,ricklon/Arduino,fungxu/Arduino,ikbelkirasan/Arduino,zenmanenergy/Arduino,ogahara/Arduino,acosinwork/Arduino,talhaburak/Arduino,leftbrainstrain/Arduino-ESP8266,snargledorf/Arduino,EmuxEvans/Arduino,tomkrus007/Arduino,eggfly/arduino,garci66/Arduino,eggfly/arduino,jaimemaretoli/Arduino,ari-analytics/Arduino,mattvenn/Arduino,nandojve/Arduino,karlitxo/Arduino,karlitxo/Arduino,ricklon/Arduino,OpenDevice/Arduino,shiitakeo/Arduino,jaimemaretoli/Arduino,OpenDevice/Arduino,tomkrus007/Arduino,xxxajk/Arduino-1,aichi/Arduino-2,wayoda/Arduino,PeterVH/Arduino,adafruit/ESP8266-Arduino,Alfredynho/AgroSis,aichi/Arduino-2,me-no-dev/Arduino-1,tbowmo/Arduino,raimohanska/Arduino,gonium/Arduino,bsmr-arduino/Arduino,wdoganowski/Arduino,chaveiro/Arduino,xxxajk/Arduino-1,zaiexx/Arduino,superboonie/Arduino,tbowmo/Arduino,steamboating/Arduino,jabezGit/Arduino,Protoneer/Arduino,noahchense/Arduino-1,tbowmo/Arduino,paulo-raca/ESP8266-Arduino,henningpohl/Arduino,zederson/Arduino,acosinwork/Arduino,aichi/Arduino-2,NaSymbol/Arduino,PeterVH/Arduino,smily77/Arduino,mangelajo/Arduino,Alfredynho/AgroSis,onovy/Arduino,wilhelmryan/Arduino,vbextreme/Arduino,byran/Arduino,raimohanska/Arduino,danielchalef/Arduino,bigjosh/Arduino,ntruchsess/Arduino-1,danielchalef/Arduino,drpjk/Arduino,adamkh/Arduino,EmuxEvans/Arduino,xxxajk/Arduino-1,bigjosh/Arduino,adafruit/ESP8266-Arduino,jamesrob4/Arduino,onovy/Arduino,jomolinare/Arduino,arunkuttiyara/Arduino,jaimemaretoli/Arduino,me-no-dev/Arduino-1,koltegirish/Arduino,NeuralSpaz/Arduino,zederson/Arduino,laylthe/Arduino,shannonshsu/Arduino,mangelajo/Arduino,jomolinare/Arduino,KlaasDeNys/Arduino,Chris--A/Arduino,stevemayhew/Arduino,byran/Arduino,noahchense/Arduino-1,lulufei/Arduino,acosinwork/Arduino,zaiexx/Arduino,gonium/Arduino,stickbreaker/Arduino,drpjk/Arduino,ari-analytics/Arduino,tomkrus007/Arduino,Protoneer/Arduino,lulufei/Arduino,laylthe/Arduino,spapadim/Arduino,tskurauskas/Arduino,shiitakeo/Arduino,gberl001/Arduino,stickbreaker/Arduino,Alfredynho/AgroSis,leftbrainstrain/Arduino-ESP8266,KlaasDeNys/Arduino,me-no-dev/Arduino-1,radut/Arduino,henningpohl/Arduino,laylthe/Arduino,bsmr-arduino/Arduino,OpenDevice/Arduino,jaimemaretoli/Arduino,noahchense/Arduino-1,ThoughtWorksIoTGurgaon/Arduino,nandojve/Arduino,ccoenen/Arduino,shannonshsu/Arduino,eddyst/Arduino-SourceCode,karlitxo/Arduino,ogahara/Arduino,weera00/Arduino,me-no-dev/Arduino-1,NaSymbol/Arduino,zaiexx/Arduino,ccoenen/Arduino,jamesrob4/Arduino,Gourav2906/Arduino,aichi/Arduino-2,tskurauskas/Arduino,eeijcea/Arduino-1,kidswong999/Arduino,lukeWal/Arduino,wdoganowski/Arduino