Skip to content

Commit 08b6107

Browse files
committedApr 10, 2024
Make the default value of the begin() parameter 'loop' to 'false'.
1 parent 2d6ea4e commit 08b6107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎BGMusic.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class BGMusic {
4242
public:
4343
BGMusic();
4444
~BGMusic();
45-
bool begin(int pin, const int notes[], int n_notes, int tempo, bool loop, bool start = false);
45+
bool begin(int pin, const int notes[], int n_notes, int tempo, bool loop = false, bool start = false);
4646
static bool start(void);
4747
static bool stop(void);
4848
void end(void);

0 commit comments

Comments
 (0)
Please sign in to comment.