Fix compile error with initTone
This commit is contained in:
parent
ae1a2ff16f
commit
cfdcf91df5
2 changed files with 3 additions and 2 deletions
|
@ -256,8 +256,6 @@ bool usb_task_other_requests(void) {
|
||||||
|
|
||||||
void HAL_init(void) {
|
void HAL_init(void) {
|
||||||
|
|
||||||
toneInit();
|
|
||||||
|
|
||||||
uint16_t *ptr;
|
uint16_t *ptr;
|
||||||
|
|
||||||
udd_disable();
|
udd_disable();
|
||||||
|
|
|
@ -637,6 +637,9 @@ void setup() {
|
||||||
|
|
||||||
#ifdef HAL_INIT
|
#ifdef HAL_INIT
|
||||||
HAL_init();
|
HAL_init();
|
||||||
|
#ifdef ARDUINO_ARCH_SAM
|
||||||
|
toneInit();
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(MAX7219_DEBUG)
|
#if ENABLED(MAX7219_DEBUG)
|
||||||
|
|
Reference in a new issue