EasyBuzzer icon indicating copy to clipboard operation
EasyBuzzer copied to clipboard

argument 'beeps' is considered as sixth position

Open umeshwalkar opened this issue 2 years ago • 0 comments

Hi,

I noticed that in actual 'beep' functions , the 'beeps' argument is placed at fourth position but calling/passing it from other versions of 'beep' at sixth position.

void EasyBuzzerClass::beep(unsigned int frequency, unsigned int const onDuration, unsigned int const offDuration, byte const beeps, unsigned int const pauseDuration, unsigned int const sequences) at line 38 and 52

and

see the function

beep(frequency, mOnDuration, mOffDuration, 1, mPauseDuration, beeps, finishedCallbackFunction); at line 25 , 30, 35.

intended beeps count are not achieving.

umeshwalkar avatar Oct 19 '22 15:10 umeshwalkar