Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
EzoeRyou committed Mar 2, 2016
1 parent 722414e commit 76b1fcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ void boost_song()
++x ;
}
std::this_thread::sleep_until( reset ) ;

}
}

Expand All @@ -55,8 +54,7 @@ void square_am_signal(float time, float frequency)
while (high_resolution_clock::now() < end)
{
mid = start + period / 2 ;
auto reset = start + period ;
std::atomic<unsigned> x{0} ;
reset = start + period ;

cv.notify_all() ;
std::this_thread::sleep_until( reset ) ;
Expand Down

0 comments on commit 76b1fcd

Please sign in to comment.