Skip to content
Snippets Groups Projects
Commit 1ad9b7a4 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

drivers/sx127x: fix build issue with unused variable

parent 0accd367
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment