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:
AnHardt
2015-06-17 16:31:14 +02:00
committed by Richard Wackerbarth
parent c461975140
commit 722829b058
5 changed files with 44 additions and 24 deletions

8
Marlin/buzzer.h Normal file
View 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