fixes that made it work
This commit is contained in:
25
components/user_app/alert.h
Normal file
25
components/user_app/alert.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
ALERT_SERVICE_DOWN = 0,
|
||||
ALERT_HIGH_TEMP,
|
||||
ALERT_WS_DISCONNECT,
|
||||
ALERT_CONNECT_OK,
|
||||
ALERT_TYPE_COUNT,
|
||||
} alert_type_t;
|
||||
|
||||
void alert_init(void);
|
||||
void alert_set_codec(void *codec);
|
||||
void alert_trigger(alert_type_t type);
|
||||
void alert_mute(bool muted);
|
||||
bool alert_is_muted(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user