Bluetooth: controller: Use void pointer to return rand value

Use void pointer to return random value from ull_entropy_get
interface.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2019-05-02 15:14:35 +05:30 committed by Anas Nashif
commit 4cebd73824
2 changed files with 2 additions and 2 deletions

View file

@ -1076,7 +1076,7 @@ void *ull_event_done(void *param)
return evdone;
}
u8_t ull_entropy_get(u8_t len, u8_t *rand)
u8_t ull_entropy_get(u8_t len, void *rand)
{
return entropy_get_entropy_isr(dev_entropy, rand, len, 0);
}

View file

@ -34,4 +34,4 @@ void *ull_disable_mark(void *param);
void *ull_disable_unmark(void *param);
void *ull_disable_mark_get(void);
int ull_disable(void *param);
u8_t ull_entropy_get(u8_t len, u8_t *rand);
u8_t ull_entropy_get(u8_t len, void *rand);