Browse Source

Fix compile error with initTone

pull/1/head
Scott Lahteine 7 years ago
parent
commit
cfdcf91df5
  1. 2
      Marlin/src/HAL/HAL_DUE/usb/usb_task.c
  2. 3
      Marlin/src/Marlin.cpp

2
Marlin/src/HAL/HAL_DUE/usb/usb_task.c

@ -256,8 +256,6 @@ bool usb_task_other_requests(void) {
void HAL_init(void) {
toneInit();
uint16_t *ptr;
udd_disable();

3
Marlin/src/Marlin.cpp

@ -637,6 +637,9 @@ void setup() {
#ifdef HAL_INIT
HAL_init();
#ifdef ARDUINO_ARCH_SAM
toneInit();
#endif
#endif
#if ENABLED(MAX7219_DEBUG)

Loading…
Cancel
Save