Rev 775 | Rev 865 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 775 | Rev 864 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | 77 | ||
Line 78... | Line 78... | ||
78 | FTP_direntry_t FTP_direntry; |
78 | FTP_direntry_t FTP_direntry; |
Line 79... | Line 79... | ||
79 | 79 | ||
80 | char FTP_data[DATA_TRANSFER_SIZE+10]; // rx & tx buffer to avoid 2 buffers |
80 | char FTP_data[DATA_TRANSFER_SIZE+10]; // rx & tx buffer to avoid 2 buffers |
81 | 81 | ||
82 | #define KEYWORD_COUNT 52 |
82 | #define KEYWORD_COUNT 54 |
83 | // most used gpx tags can be compressed |
83 | // most used gpx tags can be compressed |
84 | const char keyword[KEYWORD_COUNT][16]= |
84 | const char keyword[KEYWORD_COUNT][16]= |
Line 125... | Line 125... | ||
125 | "MotorNOK>\0 \0", |
125 | "MotorNOK>\0 \0", |
126 | "Gas>\0 \0", |
126 | "Gas>\0 \0", |
127 | "ShutterCnt>\0 \0", |
127 | "ShutterCnt>\0 \0", |
128 | "ele_raw>\0 \0", |
128 | "ele_raw>\0 \0", |
129 | "GPSInfo>\0 \0", |
129 | "GPSInfo>\0 \0", |
- | 130 | "Gimbal>\0 \0", |
|
- | 131 | "Laser>\0 \0", |
|
130 | "<WP>----,0,0,0<\0", |
132 | "<WP>----,0,0,0<\0", |
131 | "MagnetInclinati\0", |
133 | "MagnetInclinati\0", |
132 | "BL_Temperature>\0", |
134 | "BL_Temperature>\0", |
133 | "AvaiableMotorPo\0", |
135 | "AvaiableMotorPo\0", |
134 | "FC_I2C_ErrorCou\0", |
136 | "FC_I2C_ErrorCou\0", |
135 | "FC_SPI_ErrorCou\0", |
137 | "FC_SPI_ErrorCou\0", |
136 | "TargetDistance>\0" |
138 | "TargetDistance>\0", |
137 | }; |
139 | }; |
138 | //ACHTUNG: ggf. DATA_TRANSFER_SIZE vergrössern |
140 | //ACHTUNG: ggf. DATA_TRANSFER_SIZE vergrössern |
Line 139... | Line 141... | ||
139 | 141 | ||
140 | u16 CompressBuffer(char *buf, u16 size, u16 offset) |
142 | u16 CompressBuffer(char *buf, u16 size, u16 offset) |