Small bug report: MAX and MIN are defined in param.h. nordic_common.h redefines these macros which creates warnings if param.h is also included. nordic_common.h should check if the macros are already defined before defining.
In the mean time, What is the best way to avoid this warning?
nrbrook said:What is the best way to avoid this warning?
make the modification you suggested?
Well I could but I don't want to modify an external dependency. I was thinking more along the lines of suppressing the warning. Haven't managed to do that yet.
I guess either add a #ifndef to nordic_common.h or suppress the warning.