mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #13596 from gschorcht/tests/driver_sx127x_fix_enum
tests: fix netopt_state_t value handling in driver_sx127x
This commit is contained in:
commit
780e6a7630
@ -266,7 +266,7 @@ int listen_cmd(int argc, char **argv)
|
||||
netdev->driver->set(netdev, NETOPT_RX_TIMEOUT, &timeout, sizeof(timeout));
|
||||
|
||||
/* Switch to RX state */
|
||||
uint8_t state = NETOPT_STATE_RX;
|
||||
netopt_state_t state = NETOPT_STATE_RX;
|
||||
netdev->driver->set(netdev, NETOPT_STATE, &state, sizeof(state));
|
||||
|
||||
printf("Listen mode set\n");
|
||||
|
Loading…
Reference in New Issue
Block a user