支持按键开关rf射频功能
This commit is contained in:
@@ -13,6 +13,13 @@
|
||||
|
||||
#define FC_ADDRESS "0x08000000"
|
||||
#define DATA_HANDLE_BUFFER_SIZE 4096
|
||||
|
||||
#define RF_OFF_COLOR RGB_COLOR_NONE //关闭射频灯的颜色指示
|
||||
#define WIFI_AP_COLOR RGB_COLOR_WHITE //连接WIFI AP模式指示
|
||||
#define WIFI_STA_COLOR RGB_COLOR_PURPLE //连接WIFI STA模式指示
|
||||
#define BLE_COLOR RGB_COLOR_GREEN //连接BLE模式指示
|
||||
#define NO_CONNECT_COLOR_BLE_AP RGB_COLOR_GREEN_WHITE //未连接模式指示BLE+AP
|
||||
#define NO_CONNECT_COLOR_BLE_STA RGB_COLOR_GREEN_PURPLE //未连接模式指示BLE+STA
|
||||
typedef enum
|
||||
{
|
||||
DATA_HANDLE_IDLE = 0,
|
||||
@@ -135,4 +142,6 @@ void data_handle_thread(void* arg);
|
||||
*/
|
||||
void pc_link_rgb_color(device_t* device);
|
||||
|
||||
int app_send_error_code(uint8_t error_code);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user