default values
This commit is contained in:
parent
e24422b182
commit
ce6e046d4b
1 changed files with 6 additions and 4 deletions
|
@ -5,12 +5,14 @@
|
|||
|
||||
typedef struct {
|
||||
byte type = 0;
|
||||
byte command;
|
||||
uint16_t btns;
|
||||
int16_t analog[14];
|
||||
byte command = 0;
|
||||
uint16_t btns = 0;
|
||||
int16_t analog[14] = {
|
||||
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,
|
||||
};
|
||||
} nrfRC;
|
||||
|
||||
nrfRC RCdata;
|
||||
nrfRC RCdata = nrfRC();
|
||||
|
||||
void RCdataradioTask() {
|
||||
memmove(&RCdata, &jRCbuff, sizeof(RCdata));
|
||||
|
|
Loading…
Reference in a new issue