mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 07:21:18 +01:00
drivers/sx127x: fix build issue with unused variable
This commit is contained in:
parent
0accd367bc
commit
1ad9b7a493
@ -281,6 +281,7 @@ static void _isr(netdev_t *netdev)
|
||||
|
||||
static int _get(netdev_t *netdev, netopt_t opt, void *val, size_t max_len)
|
||||
{
|
||||
(void) max_len; /* unused when compiled without debug, assert empty */
|
||||
sx127x_t *dev = (sx127x_t*) netdev;
|
||||
|
||||
if (dev == NULL) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user