fix: adds slight delay before playing startup song (#346)
* fix: adds slight delay before playing startup song * Revert "fix: adds slight delay before playing startup song" This reverts commit f6df4a322307f41b4e0107a15f6a46ce1a63e88f. * fix: use AUDIO_DELAY_INIT to fix the glitch * fix: use AUDIO_DELAY_INIT with the default 300ms delay
This commit is contained in:
@@ -163,3 +163,4 @@
|
|||||||
#define AUDIO_PIN A5
|
#define AUDIO_PIN A5
|
||||||
#define AUDIO_PIN_ALT A4
|
#define AUDIO_PIN_ALT A4
|
||||||
#define AUDIO_PIN_ALT_AS_NEGATIVE
|
#define AUDIO_PIN_ALT_AS_NEGATIVE
|
||||||
|
#define AUDIO_INIT_DELAY
|
||||||
|
|||||||
@@ -19,3 +19,4 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define ORYX_CONFIGURATOR
|
#define ORYX_CONFIGURATOR
|
||||||
|
#define STARTUP_SONG SONG(ODE_TO_JOY)
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
#define AUDIO_PIN A5
|
#define AUDIO_PIN A5
|
||||||
#define AUDIO_PIN_ALT A4
|
#define AUDIO_PIN_ALT A4
|
||||||
#define AUDIO_PIN_ALT_AS_NEGATIVE
|
#define AUDIO_PIN_ALT_AS_NEGATIVE
|
||||||
|
#define AUDIO_INIT_DELAY
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
// #define DEBOUNCE 6
|
// #define DEBOUNCE 6
|
||||||
|
|||||||
Reference in New Issue
Block a user