hardcoded pi address
This commit is contained in:
@@ -14,7 +14,7 @@ static const char *TAG = "alert";
|
||||
#define SAMPLE_RATE 24000
|
||||
#define CHANNELS 2
|
||||
#define BITS 16
|
||||
#define TONE_FREQ 1000
|
||||
#define TONE_FREQ 762
|
||||
#define TONE_DURATION_MS 200
|
||||
|
||||
/* Tone buffer: 200ms at 24kHz * 2ch * 2bytes = 19200 bytes */
|
||||
@@ -41,7 +41,7 @@ static const int64_t s_cooldown_us[ALERT_TYPE_COUNT] = {
|
||||
static const int s_beep_count[ALERT_TYPE_COUNT] = {
|
||||
0, /* SERVICE_DOWN: triple beep */ /* DISABLED FOR TESTING */
|
||||
2, /* HIGH_TEMP: double beep */
|
||||
1, /* WS_DISCONNECT: single beep */
|
||||
0, /* WS_DISCONNECT: single beep */ /* DISABLED FOR TESTING */
|
||||
1, /* CONNECT_OK: single short beep */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user