apps/examplex/can: Some variables were not declared in all required cases.
This commit is contained in:
parent
fa4cd10d33
commit
546c381982
@ -175,10 +175,10 @@ int can_main(int argc, FAR char *argv[])
|
||||
#endif
|
||||
long minid = 1;
|
||||
long maxid = MAX_ID;
|
||||
int msgdlc;
|
||||
uint8_t msgdata;
|
||||
int i;
|
||||
#endif
|
||||
int msgdlc;
|
||||
int i;
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_CAN_READ
|
||||
struct can_msg_s rxmsg;
|
||||
|
Loading…
Reference in New Issue
Block a user