1
0
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:
Alexandre Abadie 2017-12-10 16:40:40 +01:00
parent 0accd367bc
commit 1ad9b7a493

View File

@ -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) {