Move buzzing code to buzzr.h & buzzer.cpp (PR#2307)
at least the lcd independent part from Marlin_main.cpp.
This commit is contained in:
parent
c461975140
commit
722829b058
5 changed files with 44 additions and 24 deletions
8
Marlin/buzzer.h
Normal file
8
Marlin/buzzer.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef BUZZER_H
|
||||
#define BUZZER_H
|
||||
|
||||
#if HAS_BUZZER
|
||||
void buzz(long duration,uint16_t freq);
|
||||
#endif
|
||||
|
||||
#endif BUZZER_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue