hardcoded pi address

This commit is contained in:
Mikkeli Matlock
2026-02-15 04:21:25 +09:00
parent 610f776ecf
commit 86583f8410
2 changed files with 3 additions and 3 deletions

View File

@@ -3,6 +3,6 @@
#define WIFI_SSID "Novoyuuparosk_H3C"
#define WIFI_PASSWORD "northwich"
#define WS_SERVER_URI "ws://192.168.1.100:8765"
#define WS_SERVER_URI "ws://192.168.2.1:8765"
#endif

View File

@@ -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 */
};