Update serialrx_main.c

Add missing variables
This commit is contained in:
GC-20-20 2023-11-04 17:43:49 +08:00 committed by Xiang Xiao
parent 9ba7092000
commit 0c572e1675

View File

@ -52,7 +52,7 @@ int main(int argc, FAR char *argv[])
#else
int fd;
int cnt;
int bytecount = 0;
#endif
#ifdef CONFIG_EXAMPLES_SERIALRX_PRINTHYPHEN
int count = 0;
@ -64,6 +64,7 @@ int main(int argc, FAR char *argv[])
bool eof = false;
FAR char *buf;
FAR char *devpath;
int bytecount = 0;
if (argc == 1)
{