mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
fix location and naming of enum
This commit is contained in:
parent
f82844f43f
commit
7507f889a5
5 changed files with 24 additions and 23 deletions
|
|
@ -2,8 +2,8 @@
|
|||
#include "buzzer.h"
|
||||
|
||||
void genericBuzzer::begin() {
|
||||
Serial.print("DBG: Setting up buzzer on pin ");
|
||||
Serial.println(PIN_BUZZER);
|
||||
// Serial.print("DBG: Setting up buzzer on pin ");
|
||||
// Serial.println(PIN_BUZZER);
|
||||
#ifdef PIN_BUZZER_EN
|
||||
pinMode(PIN_BUZZER_EN, OUTPUT);
|
||||
digitalWrite(PIN_BUZZER_EN, HIGH);
|
||||
|
|
|
|||
|
|
@ -16,15 +16,6 @@
|
|||
|
||||
*/
|
||||
|
||||
enum class buzzerEventType
|
||||
{
|
||||
noBuzzer,
|
||||
contactMessage,
|
||||
channelMessage,
|
||||
roomMessage,
|
||||
newContactMessage
|
||||
};
|
||||
|
||||
class genericBuzzer
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue