mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
apps/examplex/can: Some variables were not declared in all required cases.
This commit is contained in:
parent
fa4cd10d33
commit
546c381982
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue