Merge pull request #5 from per1234/remove-redundant-default-argument

Remove default argument from function definition
This commit is contained in:
Morgan Redfield 2018-03-07 21:41:25 -08:00 committed by GitHub
commit bcd6d7e6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ void DDS::stop() {
TCCR2B = 0; TCCR2B = 0;
} }
void DDS::startPhaseAccumulator(bool use_only_timer_2 = false){ void DDS::startPhaseAccumulator(bool use_only_timer_2){
timer2only = use_only_timer_2; timer2only = use_only_timer_2;
if(timer2only){ if(timer2only){