You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
532 B
27 lines
532 B
3 years ago
|
/**
|
||
|
* Globals
|
||
|
*/
|
||
|
|
||
|
#ifndef _APPLICATION_H
|
||
|
#define _APPLICATION_H
|
||
|
|
||
|
#include <freertos/FreeRTOS.h>
|
||
|
#include <freertos/event_groups.h>
|
||
|
#include "sdkconfig.h"
|
||
|
#include "settings.h"
|
||
|
#include "gitversion.h"
|
||
|
|
||
|
#define EG_WIFI_CONNECTED_BIT BIT0
|
||
|
extern EventGroupHandle_t g_wifi_event_group;
|
||
|
|
||
|
#define WIFI_CONNECTED_BIT BIT0
|
||
|
#define WIFI_FAIL_BIT BIT1
|
||
|
|
||
|
esp_err_t cspemu_add_shutdown_handler(shutdown_handler_t handler);
|
||
|
void cspemu_run_shutdown_handlers(void);
|
||
|
|
||
|
#define APP_NAME "APP"
|
||
|
#define APP_VERSION "v1"
|
||
|
|
||
|
#endif //_APPLICATION_H
|