Skip to content

Compilation error:struct timeval #2

@luohj-one

Description

@luohj-one

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions