Hello!
I've bumped into the issue with casting...
main.c:
static ble_gap_addr_t addr0;
static uint16_t *p_host0;
int main(void) {
p_host0 = (void*)&addr0.addr[0];
works fine, but...
beacon.c:
static ble_gap_addr_t addr1;
static uint16_t *p_host1;
void init_beacon(void) {
p_host1 = (void*)&addr1.addr[0];
hungs in assignment when I call init_beacon() from main()
Where is rake?