Skip to content

Commit

Permalink
ad9361:sw:platform_generic:platform.c: fix unused function
Browse files Browse the repository at this point in the history
Call static function 'usleep' inside 'udelay' function to avoid unused
function warning.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
  • Loading branch information
amiclaus authored and commodo committed Sep 20, 2018
1 parent 06370b3 commit 4568f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ad9361/sw/platform_generic/platform.c
Expand Up @@ -126,7 +126,7 @@ void gpio_set_value(unsigned gpio, int value)
*******************************************************************************/
void udelay(unsigned long usecs)
{

usleep(usecs);
}

/***************************************************************************//**
Expand Down

0 comments on commit 4568f6b

Please sign in to comment.