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:
parent
631cd007bd
commit
4cebd73824
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue