5
0
Fork 0
mirror of https://github.com/TheTesla/HengLongUDPclient.git synced 2025-06-30 04:16:52 +02:00

USAGE prompt; client number, client select, server exit

This commit is contained in:
Stefan Helmert 2014-01-06 21:38:22 +01:00
parent 8eabc532ed
commit fe0747336c
8 changed files with 109 additions and 70 deletions

View file

@ -2,12 +2,16 @@
#define HENGLONG_H_INCLUDED
#include <linux/input.h>
#include <stdio.h>
#include <inttypes.h>
typedef struct henglong_t
{
int velocity, direction;
int ignation, mg, fire, turretelev, turret_left, turret_right, recoil;
uint8_t clisel;
unsigned char servoff;
} henglong_t;
int CRC(int data);