Tone fixes/changes (#10151)

This commit is contained in:
Bob-the-Kuhn
2018-03-19 04:48:06 -05:00
committed by Scott Lahteine
parent 2f192dbcd6
commit 53362b81cc
4 changed files with 29 additions and 12 deletions

View File

@ -648,7 +648,7 @@ void setup() {
#ifdef HAL_INIT
HAL_init();
#if defined(ARDUINO_ARCH_SAM) && PIN_EXISTS(BEEPER)
#if defined(ARDUINO_ARCH_SAM) && PIN_EXISTS(BEEPER) && ENABLED(SPEAKER)
toneInit();
#endif
#endif