Skip to content
Permalink
Browse files

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>
  • Loading branch information...
cvinayak authored and nashif committed May 2, 2019
1 parent 631cd00 commit 4cebd738245e590af06d3fed5ad3c60dc457a3a5
Showing with 2 additions and 2 deletions.
  1. +1 −1 subsys/bluetooth/controller/ll_sw/ull.c
  2. +1 −1 subsys/bluetooth/controller/ll_sw/ull_internal.h
@@ -1076,7 +1076,7 @@ void *ull_event_done(void *param)
return evdone; 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); 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_unmark(void *param);
void *ull_disable_mark_get(void); void *ull_disable_mark_get(void);
int ull_disable(void *param); 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);

0 comments on commit 4cebd73

Please sign in to comment.
You can’t perform that action at this time.