The macro MAX is undefined softdevice_handler.h should include nordic_common.h
The macro MAX is undefined softdevice_handler.h should include nordic_common.h
same SD 5.2.1 also the 5.1 worked with 4.4.2 but not with 5.0.0.34603 . I had to revert back the SDK to 4.4.2 after testing with both SD's. I kept SD 5.2.1
Ok, so it's not the SD.
I was surprised too. It is not the SD but no compile error. Now I added nordic_common.h to sofdevice_handler.h in 5.0.0.34603 . I will try.
Nope! No compile or link error but no advertising. Heart rate app from 5.0.0.34603 was working though.
I would like to solve this and use latest toolchain as soon as possible.
Any idea what MAX macro should be?
I added a bogus
#define MAX
to softdevice_handler.h and got lost of redefined MAX errors.