When I use your project, the compiler will report that there is no struct timeval structure. This structure seems to be under the Linux system. How do you handle it? My compilation error is as follows:
C:\Users\CDLX\Documents\Arduino\libraries\src\loragw_lbt.c: In function 'lgw_lbt_start':
C:\Users\CDLX\Documents\Arduino\libraries\src\loragw_lbt.c:90:20: error: storage size of 'tm' isn't known struct timeval tm;
When I use your project, the compiler will report that there is no struct timeval structure. This structure seems to be under the Linux system. How do you handle it? My compilation error is as follows:
C:\Users\CDLX\Documents\Arduino\libraries\src\loragw_lbt.c: In function 'lgw_lbt_start':
C:\Users\CDLX\Documents\Arduino\libraries\src\loragw_lbt.c:90:20: error: storage size of 'tm' isn't known struct timeval tm;