mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
finish the beta version of dji_motor
This commit is contained in:
@@ -51,14 +51,14 @@
|
||||
#define KEY_PRESSED_OFFSET_V ((uint16_t)1 << 14)
|
||||
#define KEY_PRESSED_OFFSET_B ((uint16_t)1 << 15)
|
||||
/* ----------------------- Data Struct ------------------------------------- */
|
||||
typedef __packed struct
|
||||
typedef struct
|
||||
{
|
||||
__packed struct
|
||||
struct
|
||||
{
|
||||
int16_t ch[5];
|
||||
char s[2];
|
||||
} rc;
|
||||
__packed struct
|
||||
struct
|
||||
{
|
||||
int16_t x;
|
||||
int16_t y;
|
||||
@@ -66,7 +66,7 @@ typedef __packed struct
|
||||
uint8_t press_l;
|
||||
uint8_t press_r;
|
||||
} mouse;
|
||||
__packed struct
|
||||
struct
|
||||
{
|
||||
uint16_t v;
|
||||
} key;
|
||||
|
||||
Reference in New Issue
Block a user