default values

This commit is contained in:
jusax23 2023-09-24 16:42:23 +02:00
parent e24422b182
commit ce6e046d4b
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -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));