丢弃首次连接APP发送过来的数据转发
This commit is contained in:
@@ -96,6 +96,8 @@ typedef struct
|
||||
// int (*embedded_write)(device_t *port, const void *data, uint32_t size);
|
||||
uint8_t last_color;
|
||||
|
||||
// 每次刚连接ble都会将标志位置一 ,因为连接上app后,app会发送一段字符串,这段字符串我暂时用不到需要抛弃,不然会影响异常飞控固件升级
|
||||
uint8_t ble_one_connect_flag;
|
||||
}device_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user