added scope to usleep calls to allow compilation on windows (cherry picked from commit ed0fd7c10be0dc54aa8981ef7f8ce94ea7d545aa)
added scope to usleep calls to allow compilation on windows
(cherry picked from commit ed0fd7c10be0dc54aa8981ef7f8ce94ea7d545aa)

remspoor/qgroundcontrol,hejunbok/qgroundcontrol,LIKAIMO/qgroundcontrol,mihadyuk/qgroundcontrol,dcarpy/apm_planner,hejunbok/qgroundcontrol,LIKAIMO/qgroundcontrol,sverling/qgc_asl,mihadyuk/qgroundcontrol,labtoast/apm_planner,abcdelf/apm_planner,kd0aij/qgroundcontrol,cfelipesouza/qgroundcontrol,sutherlandm/apm_planner,mrpilot2/apm_planner,fizzaly/qgroundcontrol,UAVenture/qgroundcontrol,cfelipesouza/qgroundcontrol,chen0510566/apm_planner,kd0aij/qgroundcontrol,TheIronBorn/qgroundcontrol,cfelipesouza/qgroundcontrol,jy723/qgroundcontrol,xros/apm_planner,mihadyuk/qgroundcontrol,iidioter/qgroundcontrol,RedoXyde/PX4_qGCS,Icenowy/apm_planner,greenoaktree/qgroundcontrol,duststorm/apm_planner,Icenowy/apm_planner,LittleBun/apm_planner,iidioter/qgroundcontrol,labtoast/apm_planner,LIKAIMO/apm_planner,WorkerBees/apm_planner,sverling/qgc_asl,CornerOfSkyline/qgroundcontrol,ethz-asl/qgc_asl,fizzaly/qgroundcontrol,kellyschrock/apm_planner,mrpilot2/apm_planner,nado1688/qgroundcontrol,dcarpy/apm_planner,diydrones/apm_planner,catch-twenty-two/qgroundcontrol,jy723/qgroundcontrol,Hunter522/qgroundcontrol,gpaes/apm_planner,mirkix/apm_planner,LittleBun/apm_planner,cfelipesouza/qgroundcontrol,nado1688/qgroundcontrol,mirkix/apm_planner,hejunbok/qgroundcontrol,scott-eddy/qgroundcontrol,fizzaly/qgroundcontrol,BMP-TECH/qgroundcontrol,BMP-TECH/qgroundcontrol,gpaes/apm_planner,BMP-TECH/qgroundcontrol,nado1688/qgroundcontrol,dagoodma/qgroundcontrol,Icenowy/apm_planner,catch-twenty-two/qgroundcontrol,devbharat/qgroundcontrol,kd0aij/qgroundcontrol,LIKAIMO/apm_planner,RedoXyde/PX4_qGCS,kellyschrock/apm_planner,sverling/qgc_asl,duststorm/apm_planner,scott-eddy/qgroundcontrol,BMP-TECH/qgroundcontrol,gpaes/apm_planner,scott-eddy/qgroundcontrol,jy723/qgroundcontrol,greenoaktree/qgroundcontrol,BMP-TECH/qgroundcontrol,catch-twenty-two/qgroundcontrol,gpaes/apm_planner,Hunter522/qgroundcontrol,hejunbok/qgroundcontrol,RedoXyde/PX4_qGCS,cfelipesouza/qgroundcontrol,BMP-TECH/qgroundcontrol,fizzaly/qgroundcontrol,nado1688/qgroundcontrol,mrpilot2/apm_planner,xros/apm_planner,mrpilot2/apm_planner,dcarpy/apm_planner,gpaes/apm_planner,abcdelf/apm_planner,TheIronBorn/qgroundcontrol,kd0aij/qgroundcontrol,CornerOfSkyline/qgroundcontrol,hejunbok/apm_planner,hejunbok/apm_planner,gpaes/apm_planner,Hunter522/qgroundcontrol,sutherlandm/apm_planner,abcdelf/apm_planner,CornerOfSkyline/qgroundcontrol,remspoor/qgroundcontrol,381426068/apm_planner,TheIronBorn/qgroundcontrol,LittleBun/apm_planner,fizzaly/qgroundcontrol,mirkix/apm_planner,sverling/qgc_asl,remspoor/qgroundcontrol,CornerOfSkyline/qgroundcontrol,lis-epfl/qgroundcontrol,381426068/apm_planner,remspoor/qgroundcontrol,LittleBun/apm_planner,lis-epfl/qgroundcontrol,josephlewis42/UDenverQGC2,josephlewis42/UDenverQGC2,diydrones/apm_planner,devbharat/qgroundcontrol,lis-epfl/qgroundcontrol,LIKAIMO/qgroundcontrol,mirkix/apm_planner,RedoXyde/PX4_qGCS,LIKAIMO/qgroundcontrol,UAVenture/qgroundcontrol,WorkerBees/apm_planner,iidioter/qgroundcontrol,Icenowy/apm_planner,hejunbok/apm_planner,devbharat/qgroundcontrol,Icenowy/apm_planner,diydrones/apm_planner,dagoodma/qgroundcontrol,381426068/apm_planner,iidioter/qgroundcontrol,LIKAIMO/apm_planner,ethz-asl/qgc_asl,kellyschrock/apm_planner,CornerOfSkyline/qgroundcontrol,nado1688/qgroundcontrol,LIKAIMO/apm_planner,UAVenture/qgroundcontrol,xros/apm_planner,caoxiongkun/qgroundcontrol,ethz-asl/qgc_asl,dagoodma/qgroundcontrol,diydrones/apm_planner,dcarpy/apm_planner,abcdelf/apm_planner,lis-epfl/qgroundcontrol,dagoodma/qgroundcontrol,caoxiongkun/qgroundcontrol,labtoast/apm_planner,duststorm/apm_planner,mirkix/apm_planner,remspoor/qgroundcontrol,TheIronBorn/qgroundcontrol,TheIronBorn/qgroundcontrol,mihadyuk/qgroundcontrol,UAVenture/qgroundcontrol,dcarpy/apm_planner,mihadyuk/qgroundcontrol,nado1688/qgroundcontrol,jy723/qgroundcontrol,duststorm/apm_planner,cfelipesouza/qgroundcontrol,ethz-asl/qgc_asl,LIKAIMO/apm_planner,UAVenture/qgroundcontrol,chen0510566/apm_planner,hejunbok/apm_planner,LittleBun/apm_planner,labtoast/apm_planner,chen0510566/apm_planner,caoxiongkun/qgroundcontrol,sutherlandm/apm_planner,sutherlandm/apm_planner,greenoaktree/qgroundcontrol,devbharat/qgroundcontrol,lis-epfl/qgroundcontrol,jy723/qgroundcontrol,remspoor/qgroundcontrol,scott-eddy/qgroundcontrol,greenoaktree/qgroundcontrol,sverling/qgc_asl,chen0510566/apm_planner,ethz-asl/qgc_asl,dcarpy/apm_planner,WorkerBees/apm_planner,381426068/apm_planner,mrpilot2/apm_planner,caoxiongkun/qgroundcontrol,xros/apm_planner,iidioter/qgroundcontrol,mihadyuk/qgroundcontrol,kd0aij/qgroundcontrol,TheIronBorn/qgroundcontrol,Hunter522/qgroundcontrol,iidioter/qgroundcontrol,kellyschrock/apm_planner,LIKAIMO/apm_planner,xros/apm_planner,josephlewis42/UDenverQGC2,LIKAIMO/qgroundcontrol,dagoodma/qgroundcontrol,UAVenture/qgroundcontrol,greenoaktree/qgroundcontrol,diydrones/apm_planner,duststorm/apm_planner,fizzaly/qgroundcontrol,381426068/apm_planner,devbharat/qgroundcontrol,CornerOfSkyline/qgroundcontrol,hejunbok/apm_planner,mrpilot2/apm_planner,sutherlandm/apm_planner,kellyschrock/apm_planner,Hunter522/qgroundcontrol,catch-twenty-two/qgroundcontrol,greenoaktree/qgroundcontrol,labtoast/apm_planner,abcdelf/apm_planner,jy723/qgroundcontrol,hejunbok/apm_planner,catch-twenty-two/qgroundcontrol,chen0510566/apm_planner,josephlewis42/UDenverQGC2,WorkerBees/apm_planner,dagoodma/qgroundcontrol,caoxiongkun/qgroundcontrol,Icenowy/apm_planner,duststorm/apm_planner,abcdelf/apm_planner,RedoXyde/PX4_qGCS,kellyschrock/apm_planner,devbharat/qgroundcontrol,LittleBun/apm_planner,sutherlandm/apm_planner,mirkix/apm_planner,labtoast/apm_planner,xros/apm_planner,hejunbok/qgroundcontrol,scott-eddy/qgroundcontrol,381426068/apm_planner,hejunbok/qgroundcontrol,scott-eddy/qgroundcontrol,RedoXyde/PX4_qGCS,diydrones/apm_planner,caoxiongkun/qgroundcontrol,Hunter522/qgroundcontrol,kd0aij/qgroundcontrol,chen0510566/apm_planner,catch-twenty-two/qgroundcontrol,LIKAIMO/qgroundcontrol